Metadata-Version: 2.1
Name: cocoyoyo_librairie_api
Version: 1.5.8
Summary: Official CocoyoyoLibrairie API packages
Home-page: UNKNOWN
Author: CAMARM-DEV
Author-email: armand@camponovo.xyz
License: MIT
Description: # Cocoyoyo_Librairie_Python_Api
        ### Official Cocoyoyolibrairie Python Api 
        ### Search books and users in the [cocoyoyolibrairie](https://cocoyoyo-librairie.camponovo.space) with this package !
        
        # Getting Started:
        ## Install:
        ```shell
        pip3 install cocoyoyo-librairie-api
        ```
        ## Upgrade:
        ```shell
        pip3 install cocoyoyo-librairie-api --upgrade
        ```
        ## Starting code:
        ```python
        from pprint import pprint
        from cocoyoyo_librairie_api.api import CocoyoyoLibrairie, CocoyoyoLibrairie_Exception
        
        """ If you want to disable the message on init: """
        # module = CocoyoyoLibrairie(False)
        """ else: """
        module = CocoyoyoLibrairie()
        
        # search a book
        search = module.search('Petit')
        """ Uncomment below to view result """
        # pprint(search)
        
        # search a book by his id
        search_id = module.search_id(search['resultat_livres'][0]['id'])
        """ Uncomment below to view result """
        # pprint(search_id)
        
        # search a book by his isbn (WARNING !!! ALL BOOKS FIND WITH THIS METHOD AREN'T NECESSARILY IN THE COCOYOYOLIBRAIRIE)
        search_isbn = module.search_isbn(9791035204396)
        """ Uncomment below to view result """
        # pprint(search_isbn)
        
        search_user = module.search_user('No Token')
        """ Uncomment below to view result """
        # pprint(search_user)
        
        """
        I want to have doc of library
        Uncomment below to view result
        """
        # print(module.__doc__)
        
        """
        I want to have doc of search() method
        Uncomment below to view result
        """
        # print(module.search.__doc__)
        
        
        """ You can catch exceptions of API: """
        try:
            search_user = module.search_user('00')
        except CocoyoyoLibrairie_Exception as e:
            print(f'An exception occurred !\n{e.__class__}: {"".join(e.args)} !')
        ```
        # Links / Developer / Contribute:
        ### CocoyoyoLibrairie Official API made with ❤️ by CAMARM-DEV for CAMARM-DEV, inc
        ###- [Repository](https://github.com/CAMARMFlipz/Cocoyoyo_Librairie_Python_Api)
        ###- [Contributors](https://github.com/CAMARMFlipz/Cocoyoyo_Librairie_Python_Api/graphs/contributors) 
        ###- [Pypi](https://pypi.org/project/cocoyoyo-librairie-api/) 
        ###- [CAMARM-DEV Website](https://www.camarm.dev) 
        ###- [Gitlab Profile](https://gitlab.com/CAMARM_Flipz) 
        ###- [Pypi Profile](https://pypi.org/user/CAMARM-DEV/) 
        ###- [Discord](https://discord.com/invite/TNRtCvnR7b) 
        ###- [Version History](https://pypi.org/project/cocoyoyo-librairie-api/#history) 
        #### Copyright 2021 [CAMARM-DEV](https://www.camarm.dev), inc 
Keywords: conversion
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
