Ankündigung

Einklappen
Keine Ankündigung bisher.

Github Repository Informations crawlen

Einklappen

Neue Werbung 2019

Einklappen
Dieses Thema ist geschlossen.
X
X
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • Github Repository Informations crawlen

    Ich erstelle gerade eine Seite um spezifische Repository-Informationen von Github darzustellen. Dazu gehören Author, Beschreibung und die aktuelle Version. Diese Informationen möchte ich mir von Github über eine API holen und nicht DIVs auf der Repository-Webpage crawlen.
    Kann mir jemand ein PHP-Beispiel liefern, um auf offiziellem Wege an die Informationen zu kommen und nicht mit Crawlern zu arbeiten? Ich nutze Symfony falls dies helfen sollte.

    Danke!

    _______________________________________________

    I'm building a page to show some specific repositories. The informations I need to know is the author, the description and the current version. Sure, I could crawl the github repository page and find the div with this information, but if Github changes the HTML my crawler would be usless. So I'm searching a official method to get this informations with PHP. Is there a solution out there for this case? I am using symfony.

    Many thanks.

  • #2
    https://developer.github.com/v3/ + http://php.net/manual/de/book.curl.php

    Kommentar


    • #3
      Bitte beachten: Anmerkungen zu Crosspostings

      [MOD: Thread geschlossen]

      Kommentar

      Lädt...
      X