StitchCredit API
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 1.0.0
- Package version: 1.0.6
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Python >= 3.6
If the python package is hosted on a repository, you can install directly using:
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:
import ecreditapi
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import ecreditapi
Please follow the installation procedure and then run the following:
import time
import ecreditapi
from pprint import pprint
from ecreditapi.api import direct_controller_api
from ecreditapi.model.alert_resp_dto import AlertRespDTO
from ecreditapi.model.credit_report_report import CreditReportReport
from ecreditapi.model.credit_score_abstract_score import CreditScoreAbstractScore
from ecreditapi.model.credit_score_history_score import CreditScoreHistoryScore
from ecreditapi.model.credit_score_score import CreditScoreScore
from ecreditapi.model.direct_change_email_req_dto import DirectChangeEmailReqDTO
from ecreditapi.model.direct_change_mobile_req_dto import DirectChangeMobileReqDTO
from ecreditapi.model.direct_login_req_dto import DirectLoginReqDTO
from ecreditapi.model.direct_user_reg_req_dto import DirectUserRegReqDTO
from ecreditapi.model.efx_config_resp_dto import EfxConfigRespDTO
from ecreditapi.model.login_resp_dto import LoginRespDTO
from ecreditapi.model.preauth_token_dto import PreauthTokenDTO
from ecreditapi.model.user_login_resp_dto import UserLoginRespDTO
from ecreditapi.model.user_resp_dto import UserRespDTO
# Defining the host is optional and defaults to https://efx-dev.stitchcredit.com/api
# See configuration.py for a list of all supported configuration parameters.
configuration = ecreditapi.Configuration(
host = "https://efx-dev.stitchcredit.com/api"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization (JWT): accessToken
configuration = ecreditapi.Configuration(
access_token = 'YOUR_BEARER_TOKEN'
)
# Enter a context with an instance of the API client
with ecreditapi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = direct_controller_api.DirectControllerApi(api_client)
id = "id_example" # str |
direct_change_email_req_dto = DirectChangeEmailReqDTO(
email="email_example",
) # DirectChangeEmailReqDTO |
try:
api_instance.change_email(id, direct_change_email_req_dto)
except ecreditapi.ApiException as e:
print("Exception when calling DirectControllerApi->change_email: %s\n" % e)
All URIs are relative to https://efx-dev.stitchcredit.com/api
Class | Method | HTTP request | Description |
---|---|---|---|
DirectControllerApi | change_email | POST /direct/change-email/{id} | |
DirectControllerApi | change_host | POST /direct/change-host/{id} | |
DirectControllerApi | change_mobile | POST /direct/change-mobile/{id} | |
DirectControllerApi | close_account | POST /direct/close-account/{id} | |
DirectControllerApi | efx_alert | GET /direct/efx-alert/{id} | |
DirectControllerApi | efx_config | GET /direct/efx-config/{id} | |
DirectControllerApi | efx_latest_efx_score | GET /direct/efx-latest-efx-score/{id} | |
DirectControllerApi | efx_latest_report | GET /direct/efx-latest-report/{id} | |
DirectControllerApi | efx_latest_scores | GET /direct/efx-latest-scores/{id} | |
DirectControllerApi | efx_score_history | GET /direct/efx-score-history/{id} | |
DirectControllerApi | efx_scores | GET /direct/efx-scores/{id} | |
DirectControllerApi | get_user | GET /direct/user/{id} | |
DirectControllerApi | login | POST /direct/login | |
DirectControllerApi | preauth_token | GET /direct/preauth-token/{id} | |
DirectControllerApi | refresh_token | GET /direct/refresh-token | |
DirectControllerApi | register | POST /direct/user-reg | |
DirectControllerApi | register_old | POST /direct/register | |
DirectControllerApi | update_refresh | POST /direct/update-refresh/{id} | |
DirectControllerApi | user_token_old | GET /direct/user-token/{id} |
- AlertRespDTO
- BankruptcyReport
- CodeDescriptionReport
- CollectionItemReport
- ConsumerStatementReport
- ContactInformationReport
- CountryReport
- CreditReportAccountReport
- CreditReportProviderDisputeInformationReport
- CreditReportProviderViewReport
- CreditReportReport
- CreditReportSummaryAccountsReport
- CreditReportSummaryReport
- CreditScoreAbstractScore
- CreditScoreHistoryProviderViewScore
- CreditScoreHistoryScore
- CreditScoreLoanRiskRangeReport
- CreditScoreLoanRiskRangeScore
- CreditScoreProviderViewScore
- CreditScoreRangeReport
- CreditScoreRangeScore
- CreditScoreReasonReport
- CreditScoreReasonScore
- CreditScoreReport
- CreditScoreScore
- DirectChangeEmailReqDTO
- DirectChangeMobileReqDTO
- DirectLoginReqDTO
- DirectUserRegReqDTO
- EfxConfigRespDTO
- EmployerReport
- InquiryReport
- InternationalAddressReport
- InternationalPhoneReport
- JudgmentReport
- LienReport
- LoginRespDTO
- MoneyReport
- PaymentHistoryMonthReport
- PaymentHistoryYearReport
- PersonNameReport
- PersonSubjectReport
- PreauthTokenDTO
- PublicRecordsReport
- TrendedDataHistoryReport
- TrendedDataReport
- TrendedDataYearReport
- UserLoginRespDTO
- UserRespDTO
- Type: Bearer authentication (JWT)
If the OpenAPI document is large, imports in ecreditapi.apis and ecreditapi.models may fail with a RecursionError indicating the maximum recursion limit has been exceeded. In that case, there are a couple of solutions:
Solution 1: Use specific imports for apis and models like:
from ecreditapi.api.default_api import DefaultApi
from ecreditapi.model.pet import Pet
Solution 2: Before importing the package, adjust the maximum recursion limit as shown below:
import sys
sys.setrecursionlimit(1500)
import ecreditapi
from ecreditapi.apis import *
from ecreditapi.models import *