I would like to know if there is an API I can use to get a LinkShare merchant domain URL.
The merchant search endpoint only returns their uid
and name
.
相关问题
- Google places autocomplete suggestion without coun
- Karate API Testing - Access variable value across
- How to verify laravel passport api token in node /
- Converting byte array output into Blob corrupts fi
- How to handle “App is temporarily blocked from log
相关文章
- 我用scrapy写了一个蛮简单的爬虫怎么封装成一个api啊
- 后端给前端的API接口是怎么用代码写的
- Convert C# Object to Json Object
- Android camera2 API get focus distance in AF mode
- Getting all listing images from an Etsy shop
- Is there an API to get statictics on Google Play d
- How to search specific user's tracks by tag wi
- Django REST Framework - OAuth2 Consumer API from e
According to the Linkshare help docs you can get a list of default URLs for all advertisers in your program (by joining data from two APIs), but those will still be affiliate links on Linkshare redirect domains. You would then need to write a script to visit those links and return the final destination URL, then grab the root domain of the URL.
Steps:
curl_getinfo(curl_init(), CURLINFO_EFFECTIVE_URL);
to see where it's redirecting to.http[s]?://([^/]+)
This is a duplicate of this Stack Overflow question this is what worked for me:
The following URL will allow you to get a list of merchants with data that you have permission to access without the need to login. It will return an XML list of your merchants: