Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate SDK using a generator #2

Merged
merged 40 commits into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
b2c383d
Generate SDK using a generator (Issue #1) implementation started
Aditya-Kumar-Code Apr 21, 2024
40bbcdb
abdm-hiu-sdk created using open-api generator
Aditya-Kumar-Code Apr 22, 2024
9ad8170
new apis created
Aditya-Kumar-Code Apr 23, 2024
a5e42b4
file check
Aditya-Kumar-Code Apr 23, 2024
6321ed7
some changes done
Aditya-Kumar-Code Apr 23, 2024
45e68cb
uneccesary file removal
Aditya-Kumar-Code Apr 23, 2024
34d403c
file remove
Aditya-Kumar-Code Apr 23, 2024
63500a8
remove
Aditya-Kumar-Code Apr 23, 2024
1305eea
push change
Aditya-Kumar-Code Apr 23, 2024
4128af3
file delete
Aditya-Kumar-Code Apr 23, 2024
cd19c14
Delete .DS_Store
Aditya-Kumar-Code Apr 23, 2024
01ddd28
getting data example
Aditya-Kumar-Code Apr 23, 2024
0f50f92
edit
Aditya-Kumar-Code Apr 23, 2024
602eae2
readme changed
Aditya-Kumar-Code Apr 23, 2024
2c90c88
change
Aditya-Kumar-Code Apr 23, 2024
b74195e
txt removed
Aditya-Kumar-Code Apr 23, 2024
93646d4
small changes
Aditya-Kumar-Code Apr 23, 2024
d4a407c
examples added
Aditya-Kumar-Code Apr 23, 2024
05745bf
sdk created
Aditya-Kumar-Code Apr 24, 2024
dc5e55d
yaml modified
Aditya-Kumar-Code Apr 24, 2024
12e4723
ruff format
Aditya-Kumar-Code Apr 25, 2024
c820815
ruff --fix
Aditya-Kumar-Code Apr 25, 2024
373deca
ruff
Aditya-Kumar-Code Apr 25, 2024
c62dddf
unit testing done
Aditya-Kumar-Code Apr 25, 2024
0bcdd86
workflow
Aditya-Kumar-Code Apr 25, 2024
ea664af
ruff
Aditya-Kumar-Code Apr 25, 2024
967dda1
linting
Aditya-Kumar-Code Apr 25, 2024
1b981da
linting done
Aditya-Kumar-Code Apr 25, 2024
5896303
format
Aditya-Kumar-Code Apr 25, 2024
5047028
gitignore
Aditya-Kumar-Code Apr 25, 2024
ddf1734
test type check skipped
Aditya-Kumar-Code Apr 25, 2024
f12ccd6
Delete .DS_Store
Aditya-Kumar-Code Apr 25, 2024
ea16e86
Pycache deleted
Aditya-Kumar-Code Apr 25, 2024
f1c6f96
format
Aditya-Kumar-Code Apr 25, 2024
dc0b52b
push
Aditya-Kumar-Code Apr 25, 2024
9b78f1a
Delete .DS_Store
Aditya-Kumar-Code Apr 25, 2024
50c2690
chore: remove pycache artifacts
sutyum Apr 25, 2024
6cc663d
examples added
Aditya-Kumar-Code Apr 25, 2024
a2667aa
Update abdm.yml
Aditya-Kumar-Code Apr 25, 2024
9fbc7a9
ruff
Aditya-Kumar-Code Apr 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
sutyum marked this conversation as resolved.
Show resolved Hide resolved
sutyum marked this conversation as resolved.
Show resolved Hide resolved
Binary file not shown.
3 changes: 3 additions & 0 deletions .gitignore
sutyum marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,6 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

#unnecessary files
tox.ini
126 changes: 124 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,124 @@
# ABDM-HIU-py
SDK for ABDM HIU
# openapi-client
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 0.1.0
- Package version: 1.0.0
- Generator version: 7.5.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

## Requirements.

Python 3.7+

## Installation & Usage
### pip install

If the python package is hosted on a repository, you can install directly using:

```sh
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
```
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)

Then import the package:
```python
import openapi_client
```

### Setuptools

Install via [Setuptools](http://pypi.python.org/pypi/setuptools).

```sh
python setup.py install --user
```
(or `sudo python setup.py install` to install the package for all users)

Then import the package:
```python
import openapi_client
```

### Tests

Execute `pytest` to run the tests.

## Getting Started

Please follow the [installation procedure](#installation--usage) and then run the following:

```python

import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "http://localhost"
)



# Enter a context with an instance of the API client
with openapi_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = openapi_client.DefaultApi(api_client)

try:
# Auth Notify
api_response = api_instance.auth_notify_v05_users_auth_notify_post()
print("The response of DefaultApi->auth_notify_v05_users_auth_notify_post:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->auth_notify_v05_users_auth_notify_post: %s\n" % e)

```

## Documentation for API Endpoints

All URIs are relative to *http://localhost*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*DefaultApi* | [**auth_notify_v05_users_auth_notify_post**](docs/DefaultApi.md#auth_notify_v05_users_auth_notify_post) | **POST** /v0.5/users/auth/notify | Auth Notify
*DefaultApi* | [**confirm_auth_v05_users_auth_confirm_post**](docs/DefaultApi.md#confirm_auth_v05_users_auth_confirm_post) | **POST** /v0.5/users/auth/confirm | Confirm Auth
*DefaultApi* | [**consent_hiu_notify_v05_consents_hiu_notify_post**](docs/DefaultApi.md#consent_hiu_notify_v05_consents_hiu_notify_post) | **POST** /v0.5/consents/hiu/notify | Consent Hiu Notify
*DefaultApi* | [**fetch_auth_modes_v05_users_auth_fetch_modes_post**](docs/DefaultApi.md#fetch_auth_modes_v05_users_auth_fetch_modes_post) | **POST** /v0.5/users/auth/fetch-modes | Fetch Auth Modes
*DefaultApi* | [**fetch_consent_artefact_v05_consents_on_fetch_post**](docs/DefaultApi.md#fetch_consent_artefact_v05_consents_on_fetch_post) | **POST** /v0.5/consents/on-fetch | Fetch Consent Artefact
*DefaultApi* | [**health_info_hiu_request_v05_health_information_hiu_on_request_post**](docs/DefaultApi.md#health_info_hiu_request_v05_health_information_hiu_on_request_post) | **POST** /v0.5/health-information/hiu/on-request | Health Info Hiu Request
*DefaultApi* | [**health_info_transfer_v05_health_information_transfer_post**](docs/DefaultApi.md#health_info_transfer_v05_health_information_transfer_post) | **POST** /v0.5/health-information/transfer | Health Info Transfer
*DefaultApi* | [**heartbeat_v05_heartbeat_get**](docs/DefaultApi.md#heartbeat_v05_heartbeat_get) | **GET** /v0.5/heartbeat | Heartbeat
*DefaultApi* | [**init_auth_v05_users_auth_init_post**](docs/DefaultApi.md#init_auth_v05_users_auth_init_post) | **POST** /v0.5/users/auth/init | Init Auth
*DefaultApi* | [**init_consent_request_v05_consent_requests_init_post**](docs/DefaultApi.md#init_consent_request_v05_consent_requests_init_post) | **POST** /v0.5/consent-requests/init | Init Consent Request
*DefaultApi* | [**on_confirm_auth_v05_users_auth_on_confirm_post**](docs/DefaultApi.md#on_confirm_auth_v05_users_auth_on_confirm_post) | **POST** /v0.5/users/auth/on-confirm | On Confirm Auth
*DefaultApi* | [**on_consent_request_status_v05_consent_requests_on_status_post**](docs/DefaultApi.md#on_consent_request_status_v05_consent_requests_on_status_post) | **POST** /v0.5/consent-requests/on-status | On Consent Request Status
*DefaultApi* | [**on_fetch_modes_v05_users_auth_on_fetch_modes_post**](docs/DefaultApi.md#on_fetch_modes_v05_users_auth_on_fetch_modes_post) | **POST** /v0.5/users/auth/on-fetch-modes | On Fetch Modes
*DefaultApi* | [**on_find_patient_v05_patients_on_find_post**](docs/DefaultApi.md#on_find_patient_v05_patients_on_find_post) | **POST** /v0.5/patients/on-find | On Find Patient
*DefaultApi* | [**on_init_auth_v05_users_auth_on_init_post**](docs/DefaultApi.md#on_init_auth_v05_users_auth_on_init_post) | **POST** /v0.5/users/auth/on-init | On Init Auth
*DefaultApi* | [**on_init_consent_request_v05_consent_requests_on_init_post**](docs/DefaultApi.md#on_init_consent_request_v05_consent_requests_on_init_post) | **POST** /v0.5/consent-requests/on-init | On Init Consent Request
*DefaultApi* | [**on_init_subscription_v05_subscription_requests_hiu_on_init_post**](docs/DefaultApi.md#on_init_subscription_v05_subscription_requests_hiu_on_init_post) | **POST** /v0.5/subscription-requests/hiu/on-init | On Init Subscription
*DefaultApi* | [**patient_status_notify_v05_patients_status_notify_post**](docs/DefaultApi.md#patient_status_notify_v05_patients_status_notify_post) | **POST** /v0.5/patients/status/notify | Patient Status Notify
*DefaultApi* | [**patient_status_on_notify_v05_patients_status_on_notify_post**](docs/DefaultApi.md#patient_status_on_notify_v05_patients_status_on_notify_post) | **POST** /v0.5/patients/status/on-notify | Patient Status On Notify
*DefaultApi* | [**subscription_hiu_notify_v05_subscriptions_hiu_notify_post**](docs/DefaultApi.md#subscription_hiu_notify_v05_subscriptions_hiu_notify_post) | **POST** /v0.5/subscriptions/hiu/notify | Subscription Hiu Notify
*DefaultApi* | [**subscription_notify_v05_subscription_requests_hiu_notify_post**](docs/DefaultApi.md#subscription_notify_v05_subscription_requests_hiu_notify_post) | **POST** /v0.5/subscription-requests/hiu/notify | Subscription Notify


## Documentation For Models



<a id="documentation-for-authorization"></a>
## Documentation For Authorization

Endpoints do not require authorization.


## Author




Loading