Python Request for Get Single Item Call Function via eBay Shopping API
Budget $10-30 USD
Job Description:
I am looking for a python request for the get single item call function via shopping API on eBay. Enter Item ID for parameter. I have an outdated version of this request that needs to be updated according to eBay's emailed guidelines which are below.
from datetime import date, timedelta, datetime
from [login to view URL] import Connection as Finding
from [login to view URL] import Connection as Shopping
from [login to view URL] import Connection as Trading
from [login to view URL] import ConnectionError
class Ebay():
def __init__(self):
[login to view URL] = {}
[login to view URL]['IncludeItemSpecifics'] = True
self.shopping_api = Shopping(appid = '*enter here*',
devid = '*devid*',
certid = '*certid*',
token = *token entered here*,
config_file=None
)
def test(self):
[login to view URL]('GetSingleItem',{'ItemID':'173573090839'})
E = Ebay()
[login to view URL]()
The above script used to work just fine. Ebay released a statement not too long ago that their shopping API now requires an additional oauth2 token in its header. After these changes, an error is returned with the script: "ConnectionError: 'GetSingleItem: Class: RequestError, Severity: Error, Code: 1.33, Token not available in [login to view URL] not available in request. Please specify a valid token as HTTP header.'"
I need code for passing an additional oauth 2 token header in the script , or any way to access the GetSingleItem with a response instead of error.
"You are receiving this email because our records indicate that you have an application that calls the eBay Shopping API via passing APP ID (Client ID) in the request, either in the header or as a parameter in the HTTP request. In our continuing effort to follow industry standards and protect our APIs and API users, eBay has now enabled OAuth authorization for Shopping API. You can refer to the documentation on OAuth access tokens here. Shopping API will require the OAuth access token generated using the client credentials grant flow to successfully make a call. For more details, please refer to the Shopping API: Making an API call documentation.
To help with the token generation process, eBay offers several client libraries that you can use to quickly implement the minting of OAuth tokens in your applications:
OAuth client library for C#
OAuth client library for Java
OAuth client library for Node.js
OAuth client library for Python
Please take the necessary action to migrate your applications to use OAuth tokens for calling the Shopping API.
Note: Make sure that all your Shopping API calls are being made on HTTPS in both sandbox and production environments."
References from eBay:
Documentation on OAuth Access Tokens - [login to view URL]
Client Credentials Grant Flow - [login to view URL]
Making an API call Documentation - [login to view URL]
OAuth Python Library - [login to view URL]
Awarded to:
Hello! I have read the project description. I can complete the task with high quality and within shortest time. I have years of experience with programming in Python and I am very efficient. Looking forward to working More
14 freelancers are bidding on average $84 for this job
hi I can add the missing OAuth access token part in your PYTHON script, to return data for single item from Ebay Shopping API. I can start right away. Abdul H.
Hi, I'm a Python Developer. I can update the script according to updated ebay API guidelines. Please do contact me. Thank You
yes, i will create the python request for the get single item call function via shopping API on eBay , message me i am ready to work from now
Hi, my name is Wale, i am a full-stack web developer with python as my primary language. I would be able to fix your script to get your item from ebay's api. I hope we can discuss about implementations.
Hello, Nice meet you! I have read your project requirements and then I am sure I can complete that project. I can help you. Thank you.
I'm ready to start working on your project and can complete it before deadline. I believe in user satisfaction on my work. Trust me, once you give me project you'll love to work with me upcoming future. Just Send Me y More