{"id":19165806,"url":"https://github.com/itolosa/orionx-api-client","last_synced_at":"2025-05-07T12:24:22.874Z","repository":{"id":27893860,"uuid":"115488758","full_name":"itolosa/orionx-api-client","owner":"itolosa","description":"Python Orionx API Client (http://orionx.io)","archived":false,"fork":false,"pushed_at":"2023-10-18T01:09:13.000Z","size":406,"stargazers_count":17,"open_issues_count":2,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-19T22:02:47.494Z","etag":null,"topics":["api-client","bitcoin","bitcoin-api","cryptocurrency","exchange","orionx","python","python3"],"latest_commit_sha":null,"homepage":"https://pypi.python.org/pypi/orionx-api-client/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itolosa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-27T06:20:04.000Z","updated_at":"2023-09-01T20:24:02.000Z","dependencies_parsed_at":"2024-11-09T09:40:24.371Z","dependency_job_id":null,"html_url":"https://github.com/itolosa/orionx-api-client","commit_stats":{"total_commits":46,"total_committers":2,"mean_commits":23.0,"dds":0.04347826086956519,"last_synced_commit":"9daf40bacc735e649c2bb48b25ffa49ff7df2334"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itolosa%2Forionx-api-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itolosa%2Forionx-api-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itolosa%2Forionx-api-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itolosa%2Forionx-api-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itolosa","download_url":"https://codeload.github.com/itolosa/orionx-api-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252874892,"owners_count":21817923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","bitcoin","bitcoin-api","cryptocurrency","exchange","orionx","python","python3"],"created_at":"2024-11-09T09:29:25.072Z","updated_at":"2025-05-07T12:24:22.851Z","avatar_url":"https://github.com/itolosa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Orionx Api Client\n\n[![PyPI version fury.io](https://badge.fury.io/py/orionx-api-client.svg)](https://pypi.python.org/pypi/orionx-api-client/) [![PyPi license](https://badgen.net/pypi/license/orionx-api-client/)](https://pypi.org/project/orionx-api-client/)\n [![PyPI pyversions](https://img.shields.io/pypi/pyversions/orionx-api-client.svg)](https://pypi.python.org/pypi/orionx-api-client/) [![Downloads](https://static.pepy.tech/badge/orionx-api-client)](https://pepy.tech/project/orionx-api-client) [![codecov](https://codecov.io/gh/itolosa/orionx-api-client/graph/badge.svg?token=X93E30V5XU)](https://codecov.io/gh/itolosa/orionx-api-client)\n\nOrionx Api Client is a GraphQL Client for Orionx Exchange (orionx.com)\n\nIt is able to make transactions and show market information\n\n\n# Install\n\nUsing pip:\n\n```\npip install orionx-api-client\n```\n\nUsing poetry:\n\n```\npoetry add orionx-api-client\n```\n\n## Usage example\n\nTo execute the examples you have to setup an `API KEY` and a `SECRET KEY`\n\nYou can obtain them by following this tutorial: [link](https://docs.orionx.com/docs#creaci%C3%B3n-de-api-keys).\n\n```python\nfrom orionx_api_client import Orionx\n\nclient = Orionx(\"\u003capi-key\u003e\", \"\u003csecret-key\u003e\")\n\nwith client as session:\n    ds = session.dsl()\n\n    query = ds.Query.marketStats.args(\n        marketCode=\"BTCCLP\",\n        aggregation=\"h1\"\n    ).select(\n        ds.MarketStatsPoint.open\n    )\n\n    print(session.execute(query))\n```\n\nFor additional details check the `examples` directory in this repository\n\n## Query batching\n\nYou can send multiple requests at once using [query batching](https://www.apollographql.com/blog/apollo-client/performance/batching-client-graphql-queries/).\n\nCheck the file `examples/using_batcher.py` for an example.\n\n## Contributions\n\nYou're welcome to contribute to this project! Just open a PR!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitolosa%2Forionx-api-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitolosa%2Forionx-api-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitolosa%2Forionx-api-client/lists"}