Vortexa SDK
Project description
VortexaSDK
The VortexaSDK is Vortexa's Software Development Kit (SDK) for Python, which allows Data Scientists, Analysts and Developers to query Vortexa's API
Quick Start
Installation
$ pip install vortexasdk
Authentication
Set your VORTEXA_API_KEY
environment variable, that's all.
Refer to Vortexa API Authentication for more details, including instructions on where to find your API key.
Example
>>> from datetime import datetime
>>> from vortexasdk import CargoMovements
>>> df = CargoMovements()\
.search(filter_activity='loading_state',
filter_time_min=datetime(2017, 8, 1, 23),
filter_time_max=datetime(2017, 8, 1, 23))\
.to_df()
returns
quantity | vessels.0.name | product.group.label | product.grade.label | events.cargo_port_load_event.0.end_timestamp | events.cargo_port_unload_event.0.start_timestamp | |
---|---|---|---|---|---|---|
0 | 1998 | ALSIA SWAN | Clean products | Lube Oils | 2017-08-01T06:10:45+0000 | 2017-08-27T14:38:15+0000 |
1 | 16559 | IVER AMBITION | Dirty products | nan | 2017-08-02T17:20:51+0000 | 2017-09-07T07:52:20+0000 |
2 | 522288 | BLUE SUN | Crude | Gharib | 2017-08-02T04:22:09+0000 | 2017-08-13T10:32:09+0000 |
3 | 46260 | XINWANYU16 | Clean products | Chemicals | 2017-08-01T01:07:40+0000 | 2017-08-10T06:21:43+0000 |
Next Steps
Learn how to call Endpoints
Documentation
Read the documentation at VortexaSDK Docs
Contributing
We welcome contributions! Please read our Contributing Guide for ways to offer feedback and contributions.
Glossary
The Glossary can be found at Vortexa API Documentation
This outlines key terms, functions and assumptions aimed at helping to extract powerful findings from our data.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for vortexasdk-0.8.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 534a0edafa3c87f4625f144ec3371ba7c0bc56b1270d44e8bc6d38ff6728c110 |
|
MD5 | 12a8f77d349c13e95a15f174ed08d913 |
|
BLAKE2b-256 | 8768e72ac0b55a041a402431dcf4f0ec630135ed585c03fc6ef5520e6324889f |