Metadata-Version: 1.1
Name: ampache
Version: 4.2.0.post1
Summary: Python library for Amapche XML-API
Home-page: https://github.com/ampache/python3-ampache
Author: Lachlan de Waard (lachlan-00)
Author-email: lachlan.00@gmail.com
License: GPL-3.0
Download-URL: https://github.com/ampache/python3-ampache
Description: AMPACHE LIBRARY FOR PYTHON3
        ===========================
        
        Upload to PyPI
            .. image:: https://github.com/ampache/python3-ampache/workflows/Upload%20Python%20Package/badge.svg
               :target: https://pypi.org/project/ampache/
        
        INFO
        ====
        
        A python3 library for interaction with your Ampache server using the XML API
        https://github.com/ampache/ampache/wiki/API
        
        If you run a develop server you now have access to JSON as well!
        
        Code examples and scripts are available from github
        
        INSTALL
        =======
        
        You can now install from pip directly::
        
            pip3 install -U ampache
        
        EXAMPLES
        ========
        
        Practical example::
        
            import time
            import ampache
        
            # user variables
            ampache_url = 'https://music.server'
            my_api_key  = 'mysuperapikey'
            user        = 'myusername'
        
            # processed details
            encrypted_key = ampache.encrypt_string(my_api_key, user)
            ampache_api   = ampache.handshake(ampache_url, encrypted_key)
        
            if ampache_api:
                # Scrobble a music track to your ampache server
                Process(target=ampache.scrobble,
                        args=(ampache_url, ampache_api, 'Hear.Life.Spoken', 'Sub Atari Knives', 'Unearthed',
                        '', '', int(time.time()))).start()
        
        LINKS
        =====
        
        `<https://github.com/ampache/python3-ampache/>`_
        
        `<https://pypi.org/project/ampache/>`_
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development :: Libraries :: PHP Classes
