Skip to main content

esi_requests

esi_requests tries to use requests style methods:

>>> import esi_requests
>>> r = esi_requests.get("/markets/{region_id}/orders/", region_id=10000002, type_id=1403)
>>> r.status
200
>>> r.json()
{[{'duration': 90, 'is_buy_order': False, ...}

with async enabled and simplified:

>>> resps = esi_requests.get("/markets/{region_id}/orders/", region_id=10000002, type_id=[1403, 12005, 626])
# equivalent to: esi_requests.get("/markets/{region_id}/orders/", region_id=10000002, params={"type_id": [1403, 12005, 626]})
>>> resps
[<Response [200]>, <Response [200]>, <Response [200]>]
>>> resps[0].status
200
>>> resps[0].url
'https://esi.evetech.net/latest/markets/10000002/orders/?datasource=tranquility&order_type=all&page=1&type_id=1403'

which internally uses aiohttp to send requests asynchronously.

Features

  • One-line async enabled: no need to master aiohttp and asyncio
  • Simple requests-like api
  • Simplified OAuth2 SSO authentication: all you need is to log in your account
  • Support ETag headers: compliant with ESI recommendation

Metadata

Release files for esi-requests 0.0.1.10

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

Source distribution (sdist)

Source distribution for esi-requests 0.0.1.10
File Size Uploaded
esi_requests-0.0.1.10.tar.gz 34.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for esi-requests 0.0.1.10
File Interpreter ABI Platform
esi_requests-0.0.1.10-py3-none-any.whl Python 3 none any Details

Total release size: 76.6 kB

Release files / esi_requests-0.0.1.10.tar.gz

Download URL esi_requests-0.0.1.10.tar.gz
Size 34.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c1011cd3189cf2baa01576831734ba3c00d71d12aeaf8fe32798629199b0d201
BLAKE2b-256 checksum
How to use checksums
d3beaee43a759815ecb70ca0a3e10b10bd79c452a102982eeca25dc8470153e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release files / esi_requests-0.0.1.10-py3-none-any.whl

Download URL esi_requests-0.0.1.10-py3-none-any.whl
Size 42.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae6f56c20254329a10475b43c3436a7460faf79df797dd8377beae6a5d2f9678
BLAKE2b-256 checksum
How to use checksums
0dbe9371cd753bef03551a87091fa00be615f592df4d6b07ee226dc198d4fe5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release history Release notifications | RSS feed

This release

0.0.1.10 This release

2 release files

0.0.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