semvec/pypi-packages huggingface dataset:
inspiro 0.0.3
Python3 API wrapper for InspiroBot
Requires Python: >=3.5

## Inspirobot API

A Python3 api wrapper for [InspiroBot](https://inspirobot.me/)

### Requirements
* Python 3.5+
* Requests

### Install
Using PyPi (Pip)
```shell script
python3 -m pip install inspiro
```
Using Git
```shell script
python3 -m pip install git+https://github.com/SamHDev/inspiro.git
```
Manual
```shell script
git clone https://github.com/SamHDev/inspiro.git inspiro_python
cd inspiro_python
python3 -m pip -r requirements.txt
python3 -m pip install .
```

## Usage
#### Generating a classic Quote Image
```python
import inspirobot  # Import the libary
quote = inspirobot.generate()  # Generate Image
print(quote.url)  # Print the url
```
#### Using the mindfullness (flow) API
```python
import inspirobot  # Import the libary
flow = inspirobot.flow()  # Generate a flow object
for quote in flow:
    print(quote.text)
```
#### Spamming the mindfullness (flow) API
```python
import inspirobot  # Import the libary
flow = inspirobot.flow()  # Generate a flow object
for i in range(0, 100):
    for quote in flow:
        print(quote.text, quote.image.url)
    flow.new()
    print("-"*50)
```

##### HTTP Mode
Does your work/school network use https interception? Mine sure does!
```python
import inspirobot
inspirobot.HTTPS = False
```
jampp-reporting-api-client 0.3.0
Client for Reporting API.

====================
Reporting API Client
====================

This is a Python Client for `Jampp's Reporting API`_. For more information, check the `docs`.

Features
========

* Execute Pivots in an user friendly manner.
* Execute raw GraphQL queries against the Reporting API.


Basic Usage
===========

.. code-block:: python

    import os

    from reporting_api_client import ReportingAPIClient


    client = ReportingAPIClient(os.environ["CLIENT_ID"], os.environ["CLIENT_SECRET"])
    query = """{
        pivot(from: "2022-07-01", to: "2022-07-02", granularity: DAILY) {
            results {
                clicks
            }
        }
    }"""

    result = client.query(query)
    print(result)


Executing the above code should output a result similar to the following:

  .. code-block:: console

      $ python example.py
      {'pivot': {'results': [{'clicks': 123456}]}}

.. _`Jampp's Reporting API`: https://developers.jampp.com/docs/reporting-api/
.. _docs: https://developers.jampp.com/docs/reporting-api-client/


.. _changelog:

==========
Change Log
==========

All notable changes to this project will be documented here.

Sort subsections like so: Added, Bugfixes, Improvements, Technical tasks.
Group anything an end user shouldn't care deeply about into technical
tasks, even if they're technically bugs. Only include as "bugfixes"
bugs with user-visible outcomes.

When major components get significant changes worthy of mention, they
can be described in a Major section.


v0.3.0 - 2022-09-12
===================

Added
-----

- Add workflows for CI and publishing to PyPI.
- Host documentation publically.

Changed
-------

- Remove Jampp's refferences.


v0.2.0 - 2022-08-29
===================

Added
-----

- Remove need of introspection on client.


v0.1.0 - 2022-07-19
===================

Added
-----

- Add base ``ReportingAPIClient`` implementation using OAuth for authentication
- Rename to ``reporting_api_client``.