Delphi Project for Skubana API Integration using REST & OAuth
- or -
Post a project like this2220
$$$
- Posted:
- Proposals: 7
- Remote
- #1935391
- Awarded
14yrs exp Delphi | 5yrs exp in Java | Have team of 5+yrs exp web developer and 10yrs exp QA/Business Analyst
Ponda
Customized Mobile apps | Website Design & Development | Digital Marketing |E-commerce Solutions
Ahmedabad
5970914358819324747173584056216016092140707
Description
Experience Level: Expert
We’ll be integrating various Skubana merchants with our software. We are required to authenticate via OAuth for each merchant we integrate to retrieve an access token to be used to access the shop’s data.
The access token is a token that can be used as long as we are authorized to access the shop’s data so we will need some way to capture this token a store it for future use.
For more info for the proposed project take a look at the following info:
1. Install the App on Skubana
1.1 Create a trial user account by clicking on this link
1.2 Once signup is completed, log on and go to Settings > Skubana Apps
1.3 Click on "App Store"
1.4 Click on your app > "Install" > "Approve"
Once the permissions are approved, the authorization code will be generated by Skubana and a request will be made to the "post install url" with the 'code' and 'cid' parameters appended to the URL. This exact same URL will later be used to generate the access token in Step 2
Example:
http://www.marketplacereporting.com/communique-marketplaces-skubana-edition/?cid=AAAA999999&code=AAA999
Once the authorization code is received, the app needs to generate the access token
Note: this authorization code can be consumed only once. If an error occurs while generating the access token you will need to generate a new authorization code. To do so, simply uninstall the app from Skubana and reinstall it, a new code will be generated.
________________________________________
2. Generate access token:
To generate an access token, the app must send a POST request to Skubana with 2 parameters, the authorization code and the app access key
Authorization code: This is the code that has been previously sent by Skubana to the app install url
App access key: This is a Base64 encode of your appKey and appSecret
Javascript example:
window.btoa("kpyShZRKw5jPQVUGphyX0e7Ztp0ZMY1Q:EXmdnzSr0TIOONSWOYe6XzPYqiiDZNO6");
Java example:
java.util.Base64.getEncoder().encodeToString(new String(appKey + ":" + appSecret).getBytes());
Example:
POST https://demo.skubana.com/oauth/token?grant_type=authorization_code&redirect_uri=http://www.marketplacereporting.com/communique-marketplaces-skubana-edition/&cid=AAAA999999&code=
Headers: Authorization: Basic
________________________________________
3. Get and store the access token
Once Skubana receives the generate access token POST request, it will return the following JSON in the response
{"access_token":"","token_type":"bearer","scope":""}
With that access token the app is now able to make API calls to Skubana
________________________________________
4. Make an API call
The only thing required here is the access token in the request header attributes
Example:
POST https://demo.skubana.com/service/v1/
Headers: Authorization: Bearer
API documentation can be accessed here: https://demo.skubana.com/api
Step 1 has already been completed. We require steps 2 through 4 to be completed as part of this project.
With Step 4 we need for you to make a couple of calls to their API. You can use the GetOrders and GetProducts API for testing on the account.
We need to see the entire process from generating the access token, getting and storing the access token to making the API calls so we can be sure the process is working correctly. The Ability to successfully make API calls to the store with results is the end result to this process and determines its successful completion.
Once we agree to your proposal, we'll send over the API and secret keys with our development store so you can begin working on the project.
This is a Delphi project only. We will not consider other development platforms at this time. Unless otherwise approved, no third part components, or external dependencies are allowed.
The project must be able to compile into a single standalone executable file.
We use Delphi XE, Delphi 7, and Delphi 10 Seattle. As long as we can compile the project and have no compatibility issues then other versions of Delphi are acceptable.
We’ll require the source code to compile and run the project in our environment. If we can compile the project, run it and complete the tasked we’ve laid out then we’ll consider it complete, and pay the final amount due.
Any questions, let me know.
Thanks for your time
Tom
The access token is a token that can be used as long as we are authorized to access the shop’s data so we will need some way to capture this token a store it for future use.
For more info for the proposed project take a look at the following info:
1. Install the App on Skubana
1.1 Create a trial user account by clicking on this link
1.2 Once signup is completed, log on and go to Settings > Skubana Apps
1.3 Click on "App Store"
1.4 Click on your app > "Install" > "Approve"
Once the permissions are approved, the authorization code will be generated by Skubana and a request will be made to the "post install url" with the 'code' and 'cid' parameters appended to the URL. This exact same URL will later be used to generate the access token in Step 2
Example:
http://www.marketplacereporting.com/communique-marketplaces-skubana-edition/?cid=AAAA999999&code=AAA999
Once the authorization code is received, the app needs to generate the access token
Note: this authorization code can be consumed only once. If an error occurs while generating the access token you will need to generate a new authorization code. To do so, simply uninstall the app from Skubana and reinstall it, a new code will be generated.
________________________________________
2. Generate access token:
To generate an access token, the app must send a POST request to Skubana with 2 parameters, the authorization code and the app access key
Authorization code: This is the code that has been previously sent by Skubana to the app install url
App access key: This is a Base64 encode of your appKey and appSecret
Javascript example:
window.btoa("kpyShZRKw5jPQVUGphyX0e7Ztp0ZMY1Q:EXmdnzSr0TIOONSWOYe6XzPYqiiDZNO6");
Java example:
java.util.Base64.getEncoder().encodeToString(new String(appKey + ":" + appSecret).getBytes());
Example:
POST https://demo.skubana.com/oauth/token?grant_type=authorization_code&redirect_uri=http://www.marketplacereporting.com/communique-marketplaces-skubana-edition/&cid=AAAA999999&code=
Headers: Authorization: Basic
________________________________________
3. Get and store the access token
Once Skubana receives the generate access token POST request, it will return the following JSON in the response
{"access_token":"","token_type":"bearer","scope":""}
With that access token the app is now able to make API calls to Skubana
________________________________________
4. Make an API call
The only thing required here is the access token in the request header attributes
Example:
POST https://demo.skubana.com/service/v1/
Headers: Authorization: Bearer
API documentation can be accessed here: https://demo.skubana.com/api
Step 1 has already been completed. We require steps 2 through 4 to be completed as part of this project.
With Step 4 we need for you to make a couple of calls to their API. You can use the GetOrders and GetProducts API for testing on the account.
We need to see the entire process from generating the access token, getting and storing the access token to making the API calls so we can be sure the process is working correctly. The Ability to successfully make API calls to the store with results is the end result to this process and determines its successful completion.
Once we agree to your proposal, we'll send over the API and secret keys with our development store so you can begin working on the project.
This is a Delphi project only. We will not consider other development platforms at this time. Unless otherwise approved, no third part components, or external dependencies are allowed.
The project must be able to compile into a single standalone executable file.
We use Delphi XE, Delphi 7, and Delphi 10 Seattle. As long as we can compile the project and have no compatibility issues then other versions of Delphi are acceptable.
We’ll require the source code to compile and run the project in our environment. If we can compile the project, run it and complete the tasked we’ve laid out then we’ll consider it complete, and pay the final amount due.
Any questions, let me know.
Thanks for your time
Tom
Tom M.
100% (5)Projects Completed
4
Freelancers worked with
2
Projects awarded
38%
Last project
28 Mar 2018
United States
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
Hi Tom,
If you are still looking for someone for this, can you provide the link to the Skubana app that needs to be installed. That seems to be missing from your project description.
Kind regards,
Simon C.Tom M.15 Mar 2018Simon:
The links and trial account login info will be provided once the proposal is accepted.
Currently we are wrapping up a redirect page via WordPress to capture the post install url to capture the Code and CID parameters to be used for steps 2 thru 4.
We should have this done in the next couple of days at which point we will be ready to start this project.
If interested, send me a proposal.
Thanks,
Tom
609962
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies