This github respository contains sample code in various languages to help customers get started with writing betfair API-NG clients.
Each sample demonstrates a basic use case of placing a bet on the next GB Horse Racing market.
A comprehensive description of the samples can be found here.
There is also a limited sample of login examples within the loginCode subdirectory.
The sample code is not intended to be used as-is in a production environment and carries no assurances or guarantees.