TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
scott oliver
NA
82
16.2k
Trying to use RestSharp to pull from API
Sep 2 2020 4:08 PM
Hello all, I am trying to learn how to use restsharp to pull information from the OTC website. I cannot figure out the best way to do this. If anyone can give me a recommendation or point me in the right direction I would appreciate it. Thank you and here is the direct page link https://www.otcmarkets.com/research/stock-screener
This is a public page as well and does not have credentials. I also do not have any sort of api key
It is pulling data with the following get request
========================================================================
GET /research/stock-screener/api/downloadCSV?pageSize=20 HTTP/1.1
Host: www.otcmarkets.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: close
Referer: https://www.otcmarkets.com/research/stock-screener
Cookie: _ga=GA1.2.1277172939.1583161227; __gads=ID=256e3a188a72d8ad-22ff653336c300e1:T=1599055247:S=ALNI_Mb_aoACRNxi2POXLuRICB4CByLMIg; _awl=2.1599055289.0.4-184fb53b-1b7cf14c998448930096f9c884514b9b-6763652d75732d7765737431-5f4fa5b9-0; __qca=P0-1517024460-1583161291270
Upgrade-Insecure-Requests: 1
Reply
Answers (
3
)
copy new picture from camera
I'm a binnger to c# in theres a problem i did not how to solve