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

Milestone 1 Abha Sdk #7

Merged
merged 6 commits into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Binary file not shown.
160 changes: 0 additions & 160 deletions .gitignore

This file was deleted.

24 changes: 18 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:

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

## Requirements.
Expand Down Expand Up @@ -76,15 +76,15 @@ configuration = abha.Configuration(
with abha.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = abha.DefaultApi(api_client)
create_health_id_with_pre_verified_request = abha.CreateHealthIdWithPreVerifiedRequest() # CreateHealthIdWithPreVerifiedRequest |
auth_aadhar_init_request = abha.AuthAadharInitRequest() # AuthAadharInitRequest |

try:
# Health ID creation
api_response = api_instance.create_health_id_with_pre_verified(create_health_id_with_pre_verified_request)
print("The response of DefaultApi->create_health_id_with_pre_verified:\n")
# auth-aadhar-init
api_response = api_instance.auth_aadhar_init(auth_aadhar_init_request)
print("The response of DefaultApi->auth_aadhar_init:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->create_health_id_with_pre_verified: %s\n" % e)
print("Exception when calling DefaultApi->auth_aadhar_init: %s\n" % e)

```

Expand All @@ -94,20 +94,32 @@ All URIs are relative to *https://healthidsbx.abdm.gov.in/api/v1*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*DefaultApi* | [**auth_aadhar_init**](docs/DefaultApi.md#auth_aadhar_init) | **POST** /auth/init | auth-aadhar-init
*DefaultApi* | [**confirm_with_aadhaar_otp**](docs/DefaultApi.md#confirm_with_aadhaar_otp) | **POST** /auth/confirmWithAadhaarOtp | aadhar-otp-confirm
*DefaultApi* | [**create_health_id_with_pre_verified**](docs/DefaultApi.md#create_health_id_with_pre_verified) | **POST** /registration/aadhaar/createHealthIdWithPreVerified | Health ID creation
*DefaultApi* | [**generate_card_using_get**](docs/DefaultApi.md#generate_card_using_get) | **GET** /account/getCard | Generate ABHA card in PDF format
*DefaultApi* | [**generate_mobile_otp**](docs/DefaultApi.md#generate_mobile_otp) | **POST** /registration/aadhaar/generateMobileOTP | Generate Mobile OTP
*DefaultApi* | [**generate_otp**](docs/DefaultApi.md#generate_otp) | **POST** /registration/aadhaar/generateOtp | Generate OTP
*DefaultApi* | [**generate_png_card_using_get**](docs/DefaultApi.md#generate_png_card_using_get) | **GET** /account/getPngCard | Generate ABHA card PNG
*DefaultApi* | [**generate_svg_card_using_get**](docs/DefaultApi.md#generate_svg_card_using_get) | **GET** /account/getSvgCard | Generate ABHA card SVG
*DefaultApi* | [**get_account_information_using_get**](docs/DefaultApi.md#get_account_information_using_get) | **GET** /account/profile | Get account information.
*DefaultApi* | [**get_qr_code_using_get**](docs/DefaultApi.md#get_qr_code_using_get) | **GET** /account/qrCode | Get Quick Response code in PNG format for this account.
*DefaultApi* | [**resend_auth_otp**](docs/DefaultApi.md#resend_auth_otp) | **POST** /auth/resendAuthOTP | resend-auth-aadhar-init
*DefaultApi* | [**verify_mobile_otp**](docs/DefaultApi.md#verify_mobile_otp) | **POST** /registration/aadhaar/verifyMobileOTP | Verify Mobile OTP
*DefaultApi* | [**verify_otp**](docs/DefaultApi.md#verify_otp) | **POST** /registration/aadhaar/verifyOTP | Verify OTP


## Documentation For Models

- [AuthAadharInitRequest](docs/AuthAadharInitRequest.md)
- [CreateHealthIdWithPreVerified200Response](docs/CreateHealthIdWithPreVerified200Response.md)
- [CreateHealthIdWithPreVerifiedRequest](docs/CreateHealthIdWithPreVerifiedRequest.md)
- [GenerateMobileOtpRequest](docs/GenerateMobileOtpRequest.md)
- [GenerateOtp200Response](docs/GenerateOtp200Response.md)
- [GenerateOtpRequest](docs/GenerateOtpRequest.md)
- [GeneratePngCardUsingGET200Response](docs/GeneratePngCardUsingGET200Response.md)
- [GetAccountInformationUsingGET200Response](docs/GetAccountInformationUsingGET200Response.md)
- [ResendAuthOTPRequest](docs/ResendAuthOTPRequest.md)
- [VerifyOtpRequest](docs/VerifyOtpRequest.md)


Expand Down
Loading
Loading