Www :: google :: API :: BASE

Perl-Client an die Google Base-API
Jetzt downloaden

Www :: google :: API :: BASE Ranking & Zusammenfassung

Anzeige

  • Rating:
  • Lizenz:
  • Perl Artistic License
  • Preis:
  • FREE
  • Name des Herausgebers:
  • John Cappiello
  • Website des Verlags:
  • http://www.wikalong.org/

Www :: google :: API :: BASE Stichworte


Www :: google :: API :: BASE Beschreibung

Perl-Client an die Google Base-API Www :: google :: API :: Base ist ein Perl-Client zur Google-Basis-API.synopsis Www :: Google :: API :: Base; meine $ file_conf = loadFile ($ env {home}. '/. GAPI'); mein $ api_key = $ env {gapi_key}; meine $ api_user = $ env {gapi_user}; mein $ api_pass = $ env {gapi_pass}; Meine $ gbase = www :: google :: api :: base-> neu ({auth_type => 'programmiclogin', api_key => $ api_key, api_user => $ api_user, api_pass => $ api_pass}, {}); methodeInsert $ Insert_entry = $ GBASE-> Einfügen ('http://www.google.com/base/feeds/itemtypes/de_us/recipes', {-title => 'er Jingxians Huhn', -content => "Köstliche Sichuan-Spezialität ", -Link => , kochen_time => 30, label => , main_ingredient => , Portionen => 5,},); $ new_id = $ Insert_entry-> ID; Update $ update_entry = $ gbase-> update ($ new_id, {-title => 'er Jingxians Huhn', -content => "Köstliche Sichuan-Spezialität", -Link => , kochen_time => 60, label => , main_ingredient = > , Portionen => 15,},); Löschen Sie meine $ delete_response; EVAL {$ delete_response = $ gbase-> löschen ($ new_id); }; if ($ @) {mein $ e = $ @;; Die $ e-> status_line; # Http :: Antwort} Die "erfolgreich gelöscht, wenn $ delete_response-> Code == 200; # http :: recanteselectcurrent unterstützt nur das Abfragen von ID My $ Select_inserted_Enry; Eval {$ Select_inserted_entry = $ gbase-> select ($ new_id);} if ($ @) {My $ e = $ @; Die $ e-> status_line; # http :: Antwort} Anforderungen: · Perl.


Www :: google :: API :: BASE Zugehörige Software