Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
@datafire/ebay_commerce_translation
Advanced tools
Readme
Client library for Translation API
npm install --save @datafire/ebay_commerce_translation
let ebay_commerce_translation = require('@datafire/ebay_commerce_translation').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
This API allows 3rd party developers to translate item title, description, search query.
Exchange the code passed to your redirect URI for an access_token
ebay_commerce_translation.oauthCallback({
"code": ""
}, context)
object
string
object
string
string
string
string
string
Exchange a refresh_token for an access_token
ebay_commerce_translation.oauthRefresh(null, context)
This action has no parameters
object
string
string
string
string
string
Translates input text inot a given language.
ebay_commerce_translation.translate({
"body": {}
}, context)
object
object
: This type defines the fields that can be returned in an error.
array
: An array of name/value pairs that describe details the error condition. These are useful when multiple errors are returned.
string
: Identifies the type of erro.string
: Name for the primary system where the error occurred. This is relevant for application errors.integer
: A unique number to identify the error.array
: An array of request elements most closely associated to the error.
string
string
: A more detailed explanation of the error.string
: Information on how to correct the problem, in the end user's terms and language where applicable.array
: An array of request elements most closely associated to the error.
string
string
: Further helps indicate which subsystem the error is coming from. System subcategories include: Initialization, Serialization, Security, Monitoring, Rate Limiting, etc.object
string
: The object of the error.string
: The value of the object.object
string
: The language of the input text. For implementation help, refer to eBay API documentationarray
: The input text.
string
string
: The language to use for the translation of th einput text. For implementation help, refer to eBay API documentationstring
: The context of the translation. For implementation help, refer to eBay API documentationobject
array
: The list of translations.
object
string
: The language of the input text. For implementation help, refer to eBay API documentationstring
: Original text.string
: The language to use for the translation of th einput text. For implementation help, refer to eBay API documentationstring
: Translated text.FAQs
DataFire integration for Translation API
The npm package @datafire/ebay_commerce_translation receives a total of 3 weekly downloads. As such, @datafire/ebay_commerce_translation popularity was classified as not popular.
We found that @datafire/ebay_commerce_translation demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.