Dynect-API-Python-Library. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Other/Proprietary Li...
- °Ô½ÃÀÚ À̸§:
- Cole Tuininga
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- https://github.com/dyninc/
Dynect-API-Python-Library. ű×
Dynect-API-Python-Library. ¼³¸í
Dynect-API-Python-Library´Â Dynect °ü¸®µÇ´Â DNS REST API.AS¿Í »óÈ£ ÀÛ¿ëÇϱâÀ§ÇÑ °£´ÜÇÑ ÆÄÀ̽㠷¡ÆÛÀÔ´Ï´Ù. JSON ÀÎÅÍÆäÀ̽º¸¦ »ç¿ëÇϸé SimpleJSON ¸ðµâÀÌ ¼³Ä¡µÇ¾î ÀÖ¾î¾ßÇϰųª JSONÀÌÀÖ´Â Python 2.6 / 2.7ÀÌ ÀÖ¾î¾ßÇÕ´Ï´Ù. ¾ð¾î¿Í ÇÔ²² Á¦°øµÇ´Â µµ¼°ü. ÆÄÀ̽ã 3.xÀÇ ÇöÀç Ưº°È÷ supported.Use Àº ¸Å¿ì °£´Ü µÇÁö ¾Ê½À´Ï´Ù : ¼öÀÔ sysfrom ÀÇ dynect.DynectDNS °¡Á® DynectRestrest_iface = DynectRest ( ) # ·Î±× inarguments = { ' CUSTOMER_NAME ': ' my_cust ', ' _ À̸§ ': ' my_user ', ' ºñ¹Ð ' : 'my_pass',} response = rest_iface.execute ( '/ session /', 'post', Àμö) ÀÀ´ä ! = 'success': sys.exit ( "À߸øµÈ ÀÚ°Ý Áõ¸í") # ActionResponse¸¦ ¼öÇàÇÕ´Ï´Ù = REST_IFACE.EXECUTE ( '/ ZONE /', 'GET') ZONE_RESOURCES = ÀÀ´ä # ·Î±× ¾Æ¿ô, POLITEREST_IFACE.EXECUTE ( '/ session /', 'delete')´Â ³ª¸ÓÁö ÀÚ¿ø¿¡ ´ëÇÑ ¼³¸í¼¸¦ ãÀ» ¼ö ÀÖ½À´Ï´Ù. athttps : //manage.dynect.net/help/docs/api2/rest/resources/productsÀÇ È¨ÆäÀÌÁö
Dynect-API-Python-Library. °ü·Ã ¼ÒÇÁÆ®¿þ¾î