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.


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

Results 1 to 2 of 2

Thread: Not sure where to start: Trying to write a program dealing with an Amazon API

  1. #1
    Junior Member
    Join Date
    Apr 2013
    My Mood
    Thanked 0 Times in 0 Posts

    Talking Not sure where to start: Trying to write a program dealing with an Amazon API

    Hey guys,
    Im fairly new to programming in Java and I was wondering if I could get some help with this program.

    The final output and problem that I am suppose to be implementing is having the prices of the books off amazon put into a Microsoft Excel document based of the books ISBN or OCLC number. The OCLC numbers and ISBN numbers for now are also saved in a Excel Document which I would like to use for testing for the type of search that I need to implement. So the main point of this program is to Type in a OCLC or ISBN number and for the program to find and match this number to the name of the book and the price on Amazon. If my program did this it would be fan-freaking-tas-tic and it would be as if Justin Bebier actually left planet Earth for good.

    The only problem is i really dont know where to start. If I could just get some suggestions or tips that would be amazazazazazing.


  2. #2
    Junior Member
    Join Date
    Apr 2013
    My Mood
    Thanked 9 Times in 9 Posts

    Default Re: Not sure where to start: Trying to write a program dealing with an Amazon API

    There are different ways of solving this problem. It depends upon how you want your program or how does your professor wants it to be done. The starting point could be visualizing how your program might work. I would assume it would be something like, the program will ask the user to enter the isbn number and the program will show the the name of the book and its price on amazon.com to the user. This would be simplest way of doing it.
    The first thing should obviously be recording all the data in excel, the name of the book, its isbn and the price in different columns.
    Then next comes writing the main program. You should learn file input stream and file output stream in java for this.
    The simplest algorithms could be.
    1. The program ask user to enter isbn number.
    2. The program then opens the excel file through fileinputstream
    3. It checks the file with isbn number
    4. If the number is found, then it sends the book name and its price back to the program
    5. the program displays the info on the screen.

    Hope this would help you

Similar Threads

  1. How to Write a simple XMPP (Jabber) client using the Smack API
    By JavaPF in forum Java Networking Tutorials
    Replies: 35
    Last Post: August 5th, 2014, 00:59
  2. jsapi_To write a program using netbean ide for java speech api.
    By jackdoc in forum What's Wrong With My Code?
    Replies: 2
    Last Post: December 23rd, 2012, 08:38
  3. My program keeps lagging when dealing with large arrays.
    By chrynelson in forum Java Theory & Questions
    Replies: 4
    Last Post: October 21st, 2011, 16:57
  4. Read (using Odbc)and write using (POI api)
    By amruta in forum What's Wrong With My Code?
    Replies: 1
    Last Post: December 9th, 2010, 09:12

Tags for this Thread