py_al_papi.AuthorityLabs Partner API ·¡ÆÛ | |
Áö±Ý ´Ù¿î·Îµå |
py_al_papi. ¼øÀ§ ¹× ¿ä¾à
±¤°í
- ƯÇã:
- MIT/X Consortium Lic...
- °¡°Ý:
- FREE
- °Ô½ÃÀÚ À̸§:
- Chavez
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://www.github.com/mtchavez/
py_al_papi. ű×
py_al_papi. ¼³¸í
PY_AL_PAPI´Â ÆÄÆ®³Ê API È£Ãâ ÁÖÀ§ÀÇ ÆÄÀ̽㠷¡ÆÛÀÔ´Ï´Ù. °Ô½Ã¹°, ¿ì¼± ¼øÀ§ Æ÷½ºÆ® ¹× Get Calls.InstallPIP ¼³Ä¡ AL_PAPIUSAGECONFIGURE ¿äûÀ» À§ÇØ »ç¿ëÇϵµ·Ï AL_PAPIUSAGECONFIGURE : AL_PAPIAL_PAPI.CONFIG.SETUP ( 'yr43btrdjadfavxy6a4ak3')À» °¡Á®¿É´Ï´Ù. Å° : al_papial_papi.config.setup ( 'yr43btrdjadfavxy6a4ak3') res = al_papi.request.post ({ "Å°¿öµå": "ÄËŸ ¿ìÇ¥", "¿£Áø": "bing", "locale": "en-us"}) res.success Àμâ "ÄËŸ ¿ì ·çÆ® ÇÏÀÌ ¹ß±Á" "else Àμâ"Papi Fail "Priority Priority ´ë±â¿¿¡ Å°¿öµå¸¦ ´õ Àû½Ã¿¡ °¡Á® ¿À·Á¸é : al_papial_papi.config.setup ( 'yr43btrdjadfavxy6a4ak3') res = al_papi¸¦ °¡Á®¿É´Ï´Ù. request.priority_post ({ "Å°¿öµå": "Drustie Scientist", "¿£Áø": "Bing", "·ÎÄÌ": "en-us"}) res.success Àμâ "°úÇÐÀûÀÎ °íÅëÈ"else Àμâ "¾à¹°ÀÌ ³ª»Ú´Ù" Å°¿öµå - ¿£Áø ·ÎĶ ÄÞº¸¿¡ ´ëÇÑ ¾òÀ» ¼öÀÖ´Â °á°ú¸¦ ¾òÀ» ¼ö ÀÖ½À´Ï´Ù. al_papial_papi.config.setup ( 'yr43btrdjadfavxy6a4ak3) °¡Á® ¿À±â ') res = al_papi.request.priority_post ({ "Å°¿öµå": "ij³ª´Ù ¸¶¹ý»ç", "¿£Áø": "bing", "·ÎÄÌ": "en-us"}) res.success Àμâ "Wizardry´Â ¼½½ÃÇÏ´Ù"else Àμâ "No Magic, eh?"°´½Ç¿¡ API ¿äûÀ»ÇÏ´Â ÀÀ´ä ¶§ ¿À·ù, HTTP ÀÀ´ä ÄÚµå ¹× HTTP Reponse Body.Import al_papial_papi.config.setup ( 'yr43btrdjadfavxy6a4ak3') res = al_papi.request.priority_post ({ "Canadian Wizards", "Engine": "Bing", "Locale": "ko-us"}) # ¿À·ù : # res.errors¿¡¼ ¿À·ù°¡ÀÖ´Â objects.rers.errorsfor ress.errorsÀÇ ¹è¿À» ¹ÝȯÇÕ´Ï´Ù. .message print err.code # ¼º°ø : # ¿äûÀÌ ¼º°øÇ߰ųª not.res.success # º»¹®À» ¹ÝȯÇÕ´Ï´Ù. # ´äº¯ÀÇ º»¹®À» ¹ÝȯÇÕ´Ï´Ù. . # 204 : # 204 : µ¥ÀÌÅ͸¦ ¾ÆÁ÷ »ç¿ëÇÒ ¼ö ¾øÀ» ¶§ ¿äûÀ»¹ÞÁö ¸øÇÒ °æ¿ì # 200 : ¼º°ø # 401 : À߸øµÈ API Å° # 500 : ¼¹ö errorres.code # over Limit : # true ¶Ç´Â false¸¦ ¹ÝȯÇÕ´Ï´Ù. ½Ã°£´ç limitres.over_limit # S. USPended : # °èÁ¤ÀÌ SuspendendendendendensiesSupported ¿£ÁøÀÌ Google, Yahoo ¹× BingÀ̸é True ¶Ç´Â False¸¦ ¹ÝȯÇÕ´Ï´Ù. Áö¿øµÇ´Â ¿£Áø ¸ñ·ÏÀ» ¾òÀ¸·Á¸é ´ÙÀ½À» ½ÇÇàÇÕ´Ï´Ù. import al_papial_papi.engines.alllocalessupported ·ÎÄÃÀÌ »ç¿ëÁßÀÎ ¿£ÁøÀÌ ´Ù¸¨´Ï´Ù. Å°¿öµå¸¦ °Ô½ÃÇÏ´Â ¿£Áø¿¡ Áö¿øµÇ´Â ·ÎÄÉÀÏÀ» »ç¿ëÇÏ´ÂÁö È®ÀÎÇÏ·Á¸é ´ÙÀ½À» µµ¿Í µå¸®´Â ·ÎÄÌ Å¬·¡½º°¡ ÀÖ½À´Ï´Ù. al_papial_papi.locales.supported # ±âº» ¿£Áø¿¡ ´ëÇÑ ·ÎÄÉÀÏ ¹è¿À» ¹ÝȯÇÕ´Ï´Ù. GoogLeal_Papi.Locales.supported 'Bing'# ´Ù¸¥ ¿£Áø¿¡ ´ëÇÑ ¿£Áø Nameal_Papi.locales.Supported '¾ßÈÄ'Á¦Ç°ÀÇ È¨ÆäÀÌÁö
py_al_papi. °ü·Ã ¼ÒÇÁÆ®¿þ¾î
trytond_health_services.
ÀÌ ¸ðµâÀ» »ç¿ëÇϸé ȯÀÚ Æò°¡ / ¸¸³²°ú °ü·ÃµÈ ¼ºñ½º ¹× ÁÖ¹®À» ±×·ìÈ ÇÒ ¼ö ÀÖ½À´Ï´Ù. ...
77