x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Getting data from a website!

Hello, I have a project for school in which i have to get the data from a website(like amazon) and print it. I have to get the data about consoles and games for consoles. Specifications, prices etc. I usually would try it in Code Blocks but i would like to do it with Unreal Engine. I have to do it for oop class, object oriented programming(with c++). My question is how can i get the data from the website?I have searched on google about this but couldn't find anything for unreal engine. Thank you for reading!

Product Version: UE 4.11
Tags:
more ▼

asked May 15 '16 at 02:52 PM in C++ Programming

avatar image

NeverFunny
1 1 1 2

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

UE4 provides HTTP API which let you download data from HTTP servers, i explained how to use them here

https://answers.unrealengine.com/questions/325380/reading-a-file-online.html

UE4 don't provide HTML interpration/ripping APIs maybe you can do something with XML reading APIs or somehow code the way to find specific data from website, note that some data on websites are downloaded extra data using JavaScript and AJAX which simple download of HTML won't get. So i recommend you to use websites APIs via HTTP where JSON or XML is used, data simpler to process, i'm not sure if amazon provides such APIs

Since you do this for study, i recommend you to learn about HTTP protocol first to know how web browsing looks like on network layer

https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol

more ▼

answered May 15 '16 at 07:16 PM

avatar image

Shadowriver
34.6k 917 164 1094

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question