Metadata-Version: 2.1
Name: noip-api-CodeGuy3
Version: 0.0.1
Summary: A small noip api
Home-page: https://github.com/CodeGuy3/noip_api
Author: CodeGuy3
Author-email: kiko.smire@gmail.com
License: UNKNOWN
Description: # noip_api
        A little noip ddns api for python.
        
        
        ### Requirements 
        * socket
        * requests
        * cryptography
        * BeautifulSoup4
        
        ### Description
        * `login` function logs you in with your username and password
        * `saveLoginInfo` function save your username and password encrypted in noip.config file
        * `loadLoginInfo` function loads your username and password from noip.config file
        * `getCurrent` function returns current ip saved in your hostname
        * `setDNS` function sets given ip to your hostname
        * `getMyIP` function returns your current public ip address
        * `testOpenPort` function returns if your port is open, closed or filtered(when the routers firewall is blocking it) 
        
        ### Example 1
        ```py
        import noip_api
        
        username = ""
        password = ""
        hostname = ""
        
        DDNS = noip_api.noip(hostname)
        DDNS.login(username=username, password=password)
        print(DDNS.getMyIP())
        print(DDNS.getCurrent())
        DDNS.setDNS(ip=DDNS.getMyIP())
        ```
        ### Example 2
        ```py
        import noip_api
        
        username = ""
        password = ""
        hostname = ""
        
        DDNS = noip_api.noip(hostname)
        DDNS.saveLoginInfo(username=username, password=password)
        ```
        ### Example 3
        ```py
        import noip_api
        
        username = ""
        password = ""
        hostname = ""
        
        DDNS = noip_api.noip(hostname)
        DDNS.loadLoginInfo()
        DDNS.setDNS(ip=DDNS.getMyIP())
        ```
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
