Skip to content

mindfulsoftware/myFastway.ApiClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 

Repository files navigation

myFastway Api Client

A client for the myFastway API, demonstrating the best practices for authentication and data retrieval

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. For endpoint detail, including request and response objects, please consult the wiki

Prerequisites

This project is created using ASP.NET Core 2.1 Unit test project

Once cloned, the appSettings.json document will have to be updated with your client_id and secret obtained from the website. Finally the base-address of the api you're connecting to will have to be provided. The current production api's are

Resource Country Description base-address
Token Server [All countries] oauth authority https://identity.fastway.org/connect/token
myFastway API Australia api base address https://api.myfastway.com.au
myFastway API New Zealand api base address https://api.myfastway.co.nz
{
  "oauth": {
    "authority": "https://identity.fastway.org/connect/token",
    "client_id": "<YOUR CLIENT_ID>",
    "secret": "<YOUR SECRET>",
    "scope": ""
  },
  "api": {
    "version": "1.0",
    "base-address":  ""
  }
}

Built With