semvec/pypi-packages huggingface dataset:
fawrapper 0.1.0a6
A wrapper for the Fieldaware API
License: MIT
Requires Python: >3.6

=========
fawrapper
=========

A python wrapper for the `FieldAware API`_.

.. _FieldAware API: https://api.fieldaware.net/doc/


requires a FIELDAWARE_TOKEN environment variable


Installation
------------

Fawrapper is currently supported on python 3.6

.. code-block:: bash

   pip install git+https://github.com/j-kirch/fawrapper

Quickstart
----------

Assuming you already have at token provided by Fieldaware, you can create
an intance of the FieldawareAPIClient like so:

.. code-block:: python

  from fawrapper import FieldawareAPIClient

  # If you have set the environment variable ``FIELDAWARE_TOKEN``
  api = FieldawareAPIClient()

  # Or you can include the token
  api = FieldawareAPIClient(api_key="your_token")

With the api instance you can interact with Fieldaware:

.. code-block:: python

  # List all users
  users_list = api.users.list()
  for user in users_list:
    print('First Name: ', user.first_name, 'UUID: ', user.uuid)

  # List all jobs
  jobs_list = api.jobs.list()
  for job in jobs_list:
    print('Job Number: ', job.id, 'UUID: ', job.uuid)

  # Get a user with uuid
  user = api.users.get('user_uuid')

  # Get a job with uuid
  job = api.jobs.get('job_uuid')

  # With the Job and a User instance, you can update the api by setting the
  # attribute to the user
  job.job_lead = user


Documentation
-------------

TODO

Contribution
------------

If you find an API method that is not supported yet, feel free to create a
Github issue.

You are more than welcome to submit a pull request for bug fixes or additional
features.

Thank you!

License
-------
`MIT License`_

.. _MIT License: http://opensource.org/license/mit-license.php
python-tuxexchange 0.0.2
Tux Exchange API wrapper for Python 2.7 (superceded by crypto-exchange-apis)
License: MIT
Keywords: cryptocurrency exchange bitcoin trading

# python-tuxechange

![python](https://img.shields.io/badge/python-2.7-blue.svg)

Inspired by [this](https://github.com/Olliecad1/Tux_Exchange_Python) wrapper written by [Olliecad1](https://github.com/Olliecad1) and following the example of [this](https://github.com/ericsomdahl/python-bittrex) wrapper written by [Eric Somdahl](https://github.com/ericsomdahl)

> I ([sneurlax](https://github.com/sneurlax)) am not affiliated with, nor paid by [Tux Exchange](https://tuxexchange.com).  Use at your own risk.

**Superceded by [crypto-exchange-apis](https://github.com/init-industries/crypto-exchange-apis)**

## Installation

Install with `pip` using `pip install python-tuxexchange`

## Usage

See available methods in the [Tux exchange API docs](https://tuxexchange.com/docs)

```python
from tuxexchange import tuxexchange
tuxexchange = tuxexchange.Tuxexchange()

print tuxexchange.api_query('getcoins')
{'PPC': {'website': 'www.peercoin.org', ...
print tuxexchange.api_query('getticker')
{'BTC_ICN': {'last': '0.00040418', ...
```

[test_manual.py](https://github.com/init-industries/python-tuxexchange/blob/master/tuxexchange/test_manual.py):
```python
from tuxexchange import Tuxexchange

tuxexchange = Tuxexchange()

print tuxexchange.api_query('getcoins')
{'PPC': {'website': 'www.peercoin.org', ...
print tuxexchange.api_query('getticker')
{'BTC_ICN': {'last': '0.00040418', ...
```

## Testing

Run unit tests in [test.py](https://github.com/init-industries/python-tuxexchange/blob/master/tuxexchange/test.py)