Skip to main content

No project description provided

Project description

Rightfoot’s API generates student debt beneficiary accounts and transfers funds to their loans.

API Documentation

This repository provides Python bindings for Rightfoot’s API.

Installation

Install Rightfoot from PyPi with pip

pip install rightfoot

Getting Started

First create a client at the desired endpoint along with your credentials.

import rightfoot

configuration = rightfoot.Configuration()
# Defaults to sandbox, but can be explicitly set to sandbox/production.
configuration.host="https://sandbox.api.rightfoot.com/v1"
configuration.api_key['Authorization'] = os.env['RIGHTFOOT_API_KEY']
configuration.api_key_prefix['Authorization'] = 'Bearer'
rightfoot_client = rightfoot.RightfootApi(rightfoot.ApiClient(configuration))

Then a request to create a beneficiary can be made.

import rightfoot
from rightfoot.rest import ApiException

mailing_address = rightfoot.models.MailingAddress(
    line1="123 Easy Street", city="Palo Alto", state="CA", zip_code="12345-0123")
request = rightfoot.CreateBeneficiaryRequest(
    first_name="John", last_name="Doe", date_of_birth="1970-01-01",
    phone_number="+1 650 555 5555", mailing_address=mailing_address)

try:
    response = rightfoot_client.create_beneficiary(request)
    print(response)
except ApiException as e:
    print("Exception when calling RightfootApi->create_beneficiary: %s\n" % e)

Notes on API Client Source

Rightfoot uses swagger-codegen to create and maintain its SDKs whenever possible. Requests for modifications are accepted but required departing from the Swagger/OpenAPI templates for SDKs, which we try to avoid as much as possible in the interest of stability and ability to leverage improvements and security patches from those base templates as much as possible.

License

The MIT License (MIT)

Copyright (c) 2020 Charitize, Inc (“Rightfoot”)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rightfoot-1.3.4-py3-none-any.whl (709.2 kB view details)

Uploaded Python 3

File details

Details for the file rightfoot-1.3.4-py3-none-any.whl.

File metadata

  • Download URL: rightfoot-1.3.4-py3-none-any.whl
  • Upload date:
  • Size: 709.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.8.3 requests/2.27.1 setuptools/65.5.0 requests-toolbelt/0.10.0 tqdm/4.64.1 CPython/3.9.7

File hashes

Hashes for rightfoot-1.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1ae3632b568f601ed6b1694b53efd5b4476c5bc1823eb6399fbb08d2f6e281b3
MD5 9fbea42c79664d822608d2f70a290a12
BLAKE2b-256 7d5dcd38ffd223024722dac79fcfe509de11ed32486a64cd68cf034542e53fa0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page