Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: How to get data from a third party website

  1. #1
    Junior Member
    Join Date
    Feb 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to get data from a third party website

    Hi,

    Im trying to do an application to get data from third party websites and the analyse the data.

    So for example I want to get different prices for an item being sold in EBay, then analyse the prices.

    How can I obtain the prices? how do I search for this?

    Thanks in advance.
    Duff


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,297
    Thanks
    180
    Thanked 824 Times in 767 Posts
    Blog Entries
    5

    Default Re: How to get data from a third party website

    Unless the database is publicly accessible without a web interface, you need to do so by accessing through an HTTP request. You can readily do so via java.net
    Reading from and Writing to a URLConnection (The Java™ Tutorials > Custom Networking > Working with URLs)
    It may become complex figuring out the appropriate get/post information to send to the server, and you will have to write your own parser to extract the particular information that you wish.

    You should also verify that doing so isn't a violation of the policy of said website, or you and your program could risk being banned.

  3. #3
    Super Moderator Json's Avatar
    Join Date
    Jul 2009
    Location
    Warrington, United Kingdom
    Posts
    1,274
    My Mood
    Happy
    Thanks
    70
    Thanked 156 Times in 152 Posts

    Default Re: How to get data from a third party website

    Web services maybe

    Products Overview ? eBay Developers Program

    // Json

Similar Threads

  1. How to Grab the HTML source code of a website URL index page?
    By JavaPF in forum Java Networking Tutorials
    Replies: 6
    Last Post: April 22nd, 2010, 02:46 PM
  2. I can't key in the data
    By muffin in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: August 10th, 2009, 11:03 PM
  3. Website Source
    By expertOpinion in forum Java Theory & Questions
    Replies: 10
    Last Post: July 21st, 2009, 11:06 AM
  4. [SOLVED] Using 3rd Party JAR Files
    By oss_2008 in forum Java Theory & Questions
    Replies: 12
    Last Post: June 12th, 2009, 10:27 AM
  5. Replies: 3
    Last Post: March 9th, 2009, 09:47 AM