Metadata-Version: 2.1
Name: goslide-api
Version: 0.6.2
Summary: Python API to utilise the Slide Open Cloud and Local API
Home-page: https://github.com/ualex73/goslide-api
Author: Alexander Kuiper
Author-email: ualex73@gmail.com
License: Apache License 2.0
Description: 
        # GoSlide Open Cloud API
        
        Python API to utilise the GoSlide Open Cloud and Local JSON API
        
        ## Requirements
        
        - Python >= 3.5.2
        
        ## Usage
        ```python
        
        import asyncio
        from goslideapi import GoSlideCloud
        
        loop = asyncio.get_event_loop()
        goslide = GoSlideCloud('email', 'password')
        
        login = loop.run_until_complete(goslide.login())
        if login:
        
            # Get the slide list
            slides = loop.run_until_complete(goslide.slides_overview())
            if slides:
                for slidedev in slides:
                    print(slidedev['device_id'], slidedev['device_name'])
                    print('   ', slidedev['device_info']['pos'])
            else:
              print('Something went wrong while retrieving the slide information')
        
            # Open slide with id 1
            result = loop.run_until_complete(goslide.slide_open(1))
            if result:
                print('Succesfully opened slide 1')
            else:
                print('Failed opened slide 1')
        
            # Close slide with id 1
            result = loop.run_until_complete(goslide.slide_close(1))
        
            loop.run_until_complete(goslide.logout())
        else:
            print('login failed')
        ```
        
        ## TODO
        
        - Expose more API functions
        
        ## License
        
        Apache License 2.0
        
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
