58 releases (7 stable)

new 1.7.0 Nov 20, 2024
1.5.0 Sep 2, 2024
1.4.0 Jul 31, 2024
1.1.0 Mar 29, 2024
0.3.15 Mar 6, 2020

#218 in Web programming

Download history 119/week @ 2024-07-31 8/week @ 2024-08-07 1/week @ 2024-08-14 7/week @ 2024-08-21 118/week @ 2024-08-28 28/week @ 2024-09-04 5/week @ 2024-09-11 11/week @ 2024-09-18 23/week @ 2024-09-25 7/week @ 2024-10-02 10/week @ 2024-10-09 6/week @ 2024-10-16 110/week @ 2024-10-23 15/week @ 2024-10-30 15/week @ 2024-11-06

147 downloads per month

MIT license

440KB
12K SLoC

Billecta-rs

UNOFFICIAL

Not supported by Billecta in anyway!

Automatically generated API for billecta.

To get started see Billecta docs

Creating a SecureToken

1. Retreive SecureToken

To begin, encode your username and password as follows:

$ echo -n "<username>:<password>" | base64

$ base64 <<< "<username>:<password>" cannot be used since it adds a newline.

2. Retreive your SecureToken

Send the encoded b64-string to Billecta with the b64-string you just created in the Authorization Header as such: Authorization: Basic <b64string>

curl -X "POST" https://api.billecta.com/v1/authentication/apiauthenticate -H "Content-Length:0" -H "Authorization: Basic <b64 string>" -H "Accept: application/json"

3. Encode the SecureToken

Snatch the SecureToken from the returned data and encode it as b64 once more:

$ base64 <<< <SecureTokenString>

4. Do API things

To try it out try to fetch all Creditor with the b64 encode SecureToken in the Authorization header

curl -X "POST" https://api.billecta.com/v1/creditors/creditors -H "Authorization: SecureToken <SecureTokenB64>"

Dependencies

~6–18MB
~235K SLoC