Metadata-Version: 1.2
Name: bosta
Version: 0.1.0
Summary: Bosta Python SDK
Home-page: https://github.com/Zbooni/bosta-sdk-python
Author: Zbooni
Author-email: tech@zbooni.com
License: BSD
Description-Content-Type: UNKNOWN
Description: Bosta Python SDK
        ================
        
        Python SDK for integrating with Bosta.
        
        Usage
        -----
        
        .. code:: python
        
            import os
            from bosta import *
        
            bosta = Bosta(
                api_key=os.getenv('BOSTA_API_KEY'), api_base=os.getenv('BOSTA_API_BASE'))
        
            receiver = Receiver(
                firstName='Lemuel', lastName='Formacil', phone='+201551234567')
            pickup_address = Address(firstLine='1234 Some Place', city='EG-01')
            dropoff_address = Address(firstLine='5678 Another Place', city='EG-01')
        
            result = bosta.deliveries_create(
                receiver=receiver, pickupAddress=pickup_address,
                dropoff_address=dropoff_address)
        
            bosta.deliveries_list(perPage=10, page=1)
        
            bosta.deliveries_get(_id=result._id)
        
            bosta.deliveries_update(_id=result._id, notes='Throw package into the window.')
        
            bosta.deliveries_delete(_id=result._id)
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Office/Business
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=2.7
