Skip to main content
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Description: pyebooks : A python wrapper around http://it-ebooks-api.info/ API
===================================================================

**What is it?**
****************

pyebooks is a Python wrapper for the it-ebooks API.

It allows quick and easy comsumption of it-ebooks API from your Python application.

pyebooks reqires Python 3.


**Install**
***********

You can install pyebooks using:

.. code ::

$ pip3 install pyebooks

Build from source

.. code ::

$ git clone https://github.com/aksbuzz/pyebooks.git

$ cd pyebooks

$ make


**Usage**
*********

*API Key*
^^^^^^^^^
For access to the eBook API you would need a API Key.

You can get the API Key from here http://api.eBook.in/

*Using the module*
^^^^^^^^^^^^^^^^^^



.. code :: python

>>> eBook = pyebooks.Ebook()

>>> '''
Search the books
'''

>>> search_ = eBook.search("php mysql")

>>> print(search_.error)
>>> print(search_.time)
>>> print(search_.total)
>>> print(search_.page)

>>> print(search_.books)

>>> '''
This will return a list of dictionary with following details:

ID,
Title,
SubTitle (optional),
Description,
Image
'''
Get book detail


>>> book_ = eBook.book_detail(869476162)

>>> print(book_.download)

**Examples**
************

You can find example usage in the examples folder.

**Contribution**
****************

Contributions are welcome!.

**Documentation**
*****************

Documentation at http://it-ebooks-api.info/

**Todo**
********

- Add Python 2 support
- Add detailed documentation
Platform: UNKNOWN

Release files for itebooks 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for itebooks 0.3.1
File Size Uploaded
itebooks-0.3.1.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for itebooks 0.3.1
File Interpreter ABI Platform
itebooks-0.3.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size:9.4 kB

Release files / itebooks-0.3.1.tar.gz

Download URL itebooks-0.3.1.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a1c519f50669b27fe60833767834d4d31210b84dcde472b2849f9b6d10144ee4
BLAKE2b-256 checksum
How to use checksums
e264157edd8a109aebaa2a7665899f2debbc6dd6f416c3278edd9ce957e94057
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / itebooks-0.3.1-py2.py3-none-any.whl

Download URL itebooks-0.3.1-py2.py3-none-any.whl
Size 6.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
3d6946c8f7f829839530b1e096eaf5289dfe4fa491e69753b22c4bb413699828
BLAKE2b-256 checksum
How to use checksums
590c1ebf6459b96b810989dfcb569d4afaa6e0335d03b538f00dc4debf29f8d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page