lpg.dev.kpler.com
Open in
urlscan Pro
54.163.252.173
Public Scan
URL:
https://lpg.dev.kpler.com/
Submission: On May 14 via api from US — Scanned from DE
Submission: On May 14 via api from US — Scanned from DE
Form analysis
0 forms found in the DOMText Content
Public Documentation Settings ENVIRONMENT No Environment LAYOUT Double Column LANGUAGE cURL - cURL LPG API Direct Access User Guide Introduction Login Trades Vessels Flows Port-calls Ship-to-ships Fleet Metrics Contracts Products Zones Fixtures Bills-of-lading LPG API DIRECT ACCESS USER GUIDE HOW TO USE THIS DOCUMENTATION ? * Next to each endpoint, you will find in the right panel the list of available columns. Example with Trades. Alt Text * You can open this documentation with Postman App. To do so, you must first install the application. -------------------------------------------------------------------------------- AUTHENTICATION You are able to use our API by using Basic Authentication. It is not necessary to use login endpoint to do this. Follow these steps to use Basic Authentication : * Encode your email and password in base64 View More Plain Text your_email@example.com:your_password = Y3VzdG9tZXJAZW1haWwuY29tOm1Zc3RSb25nUDRzc3cwUmQ= * Add your encoded credentials in the 'Authorization' header. Plain Text Authorization: Basic Y3VzdG9tZXJAZW1haWwuY29tOm1Zc3RSb25nUDRzc3cwUmQ= HOW CAN I ENCODE IN BASE64 ? In python3 Plain Text import base64 token = base64.b64encode(str.encode(f'your_email:your_password')).decode('ascii') In jQuery Plain Text let encodedData = btoa("YOUR_EMAIL:YOUR_PASSWORD"); /* Output */ encodedData = WU9VUl9FTUFJTDpZT1VSX1BBU1NXT1JE In Node.js Plain Text let data = 'YOUR_EMAIL:YOUR_PASSWORD'; let buffer = Buffer.from(data); let encodedData = buffer.toString('base64'); /* Output */ encodedData = WU9VUl9FTUFJTDpZT1VSX1BBU1NXT1JE For Windows Users: Running this command in your command prompt to convert the string [YOUR_USERNAME]:[YOUR_PASSWORD] to a base64-encrypted string. * Press Windows key + R. * Enter cmd to open the command prompt. * Copy-paste the command below (changing the username/password) and run it. View More Plain Text powershell "[convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes(\"YOUR_USERNAME:YOUR_PASSWORD\"))" If you have any problems with this section, please do not hesitate to contact us. -------------------------------------------------------------------------------- LANGUAGE USED FOR SNIPPET You are able to generate custom code snippet by choosing your favorite language. You will find in this list all available programming languages.