Amazon API to pull down pricing  Need Help!

My searches for CF code to pull down amazon book pricing all come back with old information.
I need some help setting up the Amazon API.  I just want to pull down pricing and other book info based on a query.
Any help will be appreciated.

Steve,
Have you (since you posted) managed to work out where you went wrong?
Basically, you forgot to set the amount borrowed.
Also, I urge you to break your program up into methods, and also to "split long lines"... that output msgbox line is a doozy.
Here's my main method....
  public static void main(String[] args) {
    try {
      while ( true ) {
        // choose your loan option (or Cancel to quit).
        Loan loan = selectLoan();
        if (loan==null) break;
        // enter amount borrowed (or Cancel to quit).
        double principle = enterPrinciple();
        if (principle==0.0) break;
        // calculate the monthly repayment and display it.
        displayMonthlyRepayment(loan, principle);
    } catch (Exception e) {
      e.printStackTrace();
  }Cheers. Keith.

Similar Messages

  • Adobe Acrobat 9 Pro Freezes & Shuts Down - I need help.

    I am running Adobe Acrobat 9 Pro on Windows XP and recently I started getting messages that say "Please wait while document is prepared for reading" and then AA9 freezes and eventually shuts down.  I did 2 repair installations that did not resolve the problem.  I need help if anyone knows how to fix this.  Thanks.

    Try turning off the accessibility feature under the preferences.

  • HELP PLZ LOOK IPOD WONT SHUT DOWN! NEED HELP FAST!

    I HAVE A IPOD TOUCH, IT WON'T SHUT DOWN WHAT SHALL I DO? HELP QUICK PLZ! NEED HELP FAST

    - Try a reet:
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Next connect to computer and restore if it shows in iTunes.
    - If still one, then lett the battery fully drain.  After charging fro an hour try the above again.

  • Nokia 5530 Shuts down itself - Need help

    Hi
    Did anyone experience this? My 5530 would shuts down itself anytime during a call.
    Could be either during a received call or dialed out call.
    Could be right after the call is connected, or few mins after the call is connected
    I have been using it for half a year without any problem. It just started to go nuts this week.

    Ok, what I would do is to update if possible : http://europe.nokia.com/support/download-software/device-software-update/can-i-update, or/and soft reset and format the memorycard.
    (remember to back up anything you want, - But I would try not to backup more than contacts, messages and music and pics - as you might can take the problem with you. Likely - it's not a software issue as you said it been behaving fine for half a year.
    Have you installed any apps lately right before the issues started?
    If you cannot figure it out - I would take it to a Nokia care point as it might be a hardware fault.

  • Battery Life going down! NEED HELP!

    I have only had my Macbook Pro since Christmas Day! The battery life tends to get only about two hours with a full charge! I am extremely happy with the performance and everything that it has done. I have looked for help but everyone says they love the battery life and it is phenomenal. I tend to keep my brightness on the 4th or 5th "click" and keyboard backlight off unless i am in dark which is very rare. I would love some help before making myself look like a fool to the support team. If i could have some help or some succesful past experiences that would be great!
    Sincerely NEW macbook user

    Are you running the Windows emulation program Parallels? There was aproblem with one version where a background process of Paralles cused the Dock to use all the processor cycles:
    http://kb.parallels.com/en/111541
    If you are not running that program, I would take it back to Apple for their evaluation.

  • HP Buy back program pricing; need help

    I was thinking of getting a new desktop and selling my old one back to HP but their buyback program doesn't have some of my spec and {i was wondering if anyone would know the estimate on how much I would get back and how to contact HP about it.
    Here are my pc specs.
    HP Pavilion p7-1074 Desktop
    Thanks in advance!
    This question was solved.
    View Solution.

    Please read these FAQs concerning the HP Buy Back program. Based on the specs of your computer and the nearest available selections on the estimator, your computer is worth about $50 to $62. You may wish to contact the programs customer service number;
    How do I contact customer service?
    If you have questions about any part of the process, please contact customer service or call 1-888-285-2009 Monday - Friday, 8:00 AM to 8:00 PM Eastern Standard Time.
    Please send KUDOs
    Frank
    {------------ Please click the "White Kudos" Thumbs Up to say THANKS for helping.
    Please click the "Accept As Solution" on my post, if my assistance has solved your issue. ------------V
    This is a user supported forum. I am a volunteer and I don't work for HP.
    HP 15t-j100 (on loan from HP)
    HP 13 Split x2 (on loan from HP)
    HP Slate8 Pro (on loan from HP)
    HP a1632x - Windows 7, 4GB RAM, AMD Radeon HD 6450
    HP p6130y - Windows 7, 8GB RAM, AMD Radeon HD 6450
    HP p6320y - Windows 7, 8GB RAM, NVIDIA GT 240
    HP p7-1026 - Windows 7, 6GB RAM, AMD Radeon HD 6450
    HP p6787c - Windows 7, 8GB RAM, NVIDIA GT 240

  • Upside down footage - need help

    I have about 1.5 hours of really good single track dirt bike footage that was shot from a helmet camera that was mounted upside down. is the anyway to right side up this footage?

    ...or rotate 180 degrees in the motion tab. As always, many ways to do the same thing.
    You might want to try several ways to see if one gives you better RT playback.

  • FRS Virtual Unit is down.. Need Help

    Hi all,
    FRS virtual unit is down.  Need help to get this back to normal. 
    I tried to reset, repair, changed the mode and role, still its going down.
    Yesterday in one of our server, disk space was went to zero, by that time onwards it stopped working and not writing any logs in log folder.
    Need some help to resolve this issue asap.
    Thanks
    Sathish.

    This seems more to be related with BW stuff. This does not seem to be the right community. Please update this right community.
    As you mentioned about space issue, you have already found the cause.

  • Assets Registry, developing dynamic pull-down menus.

    Hi all,
    I'm working on a moveable assets registry on Numbers in Yosemite.
    I'm trying to get a dynamic pull-down menu from a range of entries in a separate sheet. Also, each subsequent pull-down menu needs to change depending on the previous entry.
    Is this possible? I know it works on Microsoft Excel, but not really wanting to go down that path...
    Thanks all!

    Alas, no dynamic pull-downs in Numbers, the way you can do in Excel.
    However, you can select a range of cells with the values you want and format them as Pop-Up Menu.  Their values will then populate a Pop-Up Menu list so you don't have to type them in one-by-one. You can then copy and paste the style (Copy Style followed by Paste Style) of one of those cells elsewhere where you need a menu. When you update values in those cells where have your menu values, just repeat the process.  Not too painful.
    SG

  • Need help plz - basic pull down lever, to make a "slot Machine run"

    Hey there,
    Im trying to create a lever to activate my "slot machine" run. I want to make just a very very basic pull down lever, that when pulled down far enough, and if released will start the run. i guess i have to use the y = some where in there but just really lost don't no were to even start this. the pull down will obviously need to only pull part of the level (top part, down) but keep the main lever in place...rly lost..any help or tips will be much appriciated!
    thx pavel

    Quote
    the 20pin connector on the power supply has about 4 pins where the pastic shell has browned from heat or something
    This is not a good sign, this could be an indication of to much amp being drawed.
    This could be due to a poor connection on the P/S connector or the connector of the MB or it could be due to a device like your CPU, ram, graphic card or so on drawing to much amps.
    Check the MB for any signs of swelled, leaking or bursted caps, also look around the MB P/S connector for any resistors that have changed colors or are burnt.

  • Help in creating a pull down menu

    I am looking for examples on how to create a pull down menu. I have looked on the CLDC classes but can't find one. Do I have to developed the code from scratch??
    Any help will be appreciated.
    Thanks

    Hi there,
    I had the same problem a while ago and posted a message on KVM-INTEREST and here's the most useful reply I got:
    There's no high level user interface component that does this specifically. If you add commands to a screen the implementation may use a drop down menu but that is up to the device. For example, if you add 6 commands to a MIDlet then a Palm Pilot renders this as 2 buttons under the screen and a drop down menu containing all 6 commands.
    Using the low level API you can do whatever you like however. You could only use these "custom-made" drop down menus on top of your canvas objects
    however. i.e. You couldn't add them to other types of screens.
    Your code will have to be quite generic if you want portability however and this will no-doubt bloat things out a little. Still, if you want drop-down menus you can have 'em. You need to do some work though :)
    Cheers,
    Omar...

  • Need JAVA API to list down all the Proxy Services in OSB Console 11g

    Hi,
    I need a java API to List down all the Proxy Services present in OSB Console for SOA 11g (11.1.1.5). I am in a situation where I cant use python script for the same.
    any help will be much appreciated.
    Thanks in Advance,
    Ravi
    Edited by: 899443 on Oct 1, 2012 4:13 AM

    AFAIK it is proprietary.
    What I do in a similar situation is to form XML for the services, package them into JAR the same way as an import JAR is packaged (creating ExportInfo resource, ...) and deploy with standard WSLT script. Works for simplest services only (direct proxies mostly) but I can also form security, alerts, throttling etc etc etc -- all in one shot.
    Out of sheer interest, may I ask you a question? Why do you need to create OSB services from Java?
    Vlad
    http://vladimirdyuzhev.com

  • I need help identifying an old Macintosh game: it was a painting game where you rode a roller coaster to an art museum and you got to pick what kind of art work you were going to make. This was the early 90's and I've been trying to hunt it down

    I need help identifying an old Macintosh game: it was a painting game where you rode a roller coaster to an art museum and you got to pick what kind of art work you were going to make. It was animated, 2D i believe. This was the early 90's and I've been trying to hunt it down. I think there was some kind of animal in it, a giraffe maybe?

    Could you be thinking of Microsoft Home's "Fine Artist" for Macintosh, as shown in this Amazon.com listing?  This program was bundled with the Performa series of Macs during the mid-90s.

  • Need help in this select drop down box

    Hi i had a drop down box written with select and i had many options , when user selects the option it will insert this to database and when user goes to the edit form the preselected value has to be populate automatically in dropdown , but the last option is populating everytime when uses edit form.
    below is the code:
    insert page:
                <select name="council" id="council" name="Please select Council from dropdown box">
                    <option  value="Division">Division</option>
                    <option  value="Facility">Facility</option>
                    <option  value="District D">District D </option>
                    <option  value="District E">District E </option>
                    <option  value="District J">District J </option>
                    <option  value="District K">District K </option>
                    <option  value="District L">District L </option>
                    <option  value="District M">District M </option>
                    <option  value="District N">District N </option>
                    <option  value="District O">District O </option>
                    <option  value="District Q">District Q </option>
                    <option  value="District S">District S </option>   
                    <option  value="District T">District T </option>
                    <!--- Below code  is added just for temporary case ,for this drop down we need to pull all these data from databse--->
                    <option  value="D 506">D 506</option>                                            
                    <option  value="D 524">D 524</option>
                    <option  value="D 525">D 525</option>
                    <option  value="D 530">D 530</option>
                    <option  value="D 531">D 531</option>
                    <option  value="D 536">D 536</option>
                    <option  value="D 549">D 549</option>
                    <option  value="D 558">D 558</option>
                    <option  value="D 562">D 562</option>
                    <option  value="D 581">D 581</option>
                    <option  value="D 583">D 583</option>
                    <option  value="D 597">D 597</option>
                    <option  value="D 598">D 598</option>
                    <option  value="D 599">D 599</option>
                    <option  value="D 628">D 628</option>
                    <option  value="D 686">D 686</option>
                    <option  value="D 698">D 698</option>
                    <option  value="D 848">D 848</option>
                    <option  value="D 862">D 862</option>
                    <option  value="D 870">D 870</option></select>
    this is edit page code:
                       <select name="council" id="council">               
                   <cfoutput query="getdata">               
                    <option  value="Division" <cfif council IS "#getdata.council#"> selected</cfif>>Division</option>
                    <option  value="Facility" <cfif council IS "#getdata.council#"> selected</cfif>>Facility</option>
                    <option  value="District D" <cfif council IS "#getdata.council#"> selected</cfif>>District D </option>
                    <option  value="District E" <cfif council IS "#getdata.council#"> selected</cfif>>District E </option>
                    <option  value="District J" <cfif council IS "#getdata.council#"> selected</cfif>>District J </option>
                    <option  value="District K" <cfif council IS "#getdata.council#"> selected</cfif>>District K </option>
                    <option  value="District L" <cfif council IS "#getdata.council#"> selected</cfif>>District L </option>
                    <option  value="District M" <cfif council IS "#getdata.council#"> selected</cfif>>District M </option>
                    <option  value="District N" <cfif council IS "#getdata.council#"> selected</cfif>>District N </option>
                    <option  value="District O" <cfif council IS "#getdata.council#"> selected</cfif>>District O </option>
                    <option  value="District Q" <cfif council IS "#getdata.council#"> selected</cfif>>District Q </option>
                    <option  value="District S" <cfif council IS "#getdata.council#"> selected</cfif>>District S </option>   
                    <option  value="District T" <cfif council IS "#getdata.council#"> selected</cfif>>District T </option>                   
                    <option  value="D 506" <cfif council IS "#getdata.council#"> selected</cfif>>D 506</option>                                            
                    <option  value="D 524" <cfif council IS "#getdata.council#"> selected</cfif>>D 524</option>
                    <option  value="D 525" <cfif council IS "#getdata.council#"> selected</cfif>>D 525</option>
                    <option  value="D 530" <cfif council IS "#getdata.council#"> selected</cfif>>D 530</option>
                    <option  value="D 531" <cfif council IS "#getdata.council#"> selected</cfif>>D 531</option>
                    <option  value="D 536" <cfif council IS "#getdata.council#"> selected</cfif>>D 536</option>
                    <option  value="D 549" <cfif council IS "#getdata.council#"> selected</cfif>>D 549</option>
                    <option  value="D 558" <cfif council IS "#getdata.council#"> selected</cfif>>D 558</option>
                    <option  value="D 562" <cfif council IS "#getdata.council#"> selected</cfif>>D 562</option>
                    <option  value="D 581" <cfif council IS "#getdata.council#"> selected</cfif>>D 581</option>
                    <option  value="D 583" <cfif council IS "#getdata.council#"> selected</cfif>>D 583</option>
                    <option  value="D 597" <cfif council IS "#getdata.council#"> selected</cfif>>D 597</option>
                    <option  value="D 598" <cfif council IS "#getdata.council#"> selected</cfif>>D 598</option>
                    <option  value="D 599" <cfif council IS "#getdata.council#"> selected</cfif>>D 599</option>
                    <option  value="D 628" <cfif council IS "#getdata.council#"> selected</cfif>>D 628</option>
                    <option  value="D 686" <cfif council IS "#getdata.council#"> selected</cfif>>D 686</option>
                    <option  value="D 698" <cfif council IS "#getdata.council#"> selected</cfif>>D 698</option>
                    <option  value="D 848" <cfif council IS "#getdata.council#"> selected</cfif>>D 848</option>
                    <option  value="D 862" <cfif council IS "#getdata.council#"> selected</cfif>>D 862</option>
                    <option  value="D 870" <cfif council IS "#getdata.council#"> selected</cfif>>D 870</option>
    </cfoutput>               
                </select>
    i dont know where i am making mistake and i observered one behavoir that if i have less options it is working but not with many why like that , please help me in this
    Thanks

    Seems to me your conditionals should look something like this:
    <option value="Division"<cfif getData.council is "Division"> selected="selected"</cfif>>Division</option>
    <option value="Facility"<cfif getData.council is "Facility"> selected="selected"</cfif>>Facility</option>
    Your condition is the same for every option, and would likely never evaluate to true:
    <cfif council IS "#getdata.council#"> selected</cfif>
    getData.council will be "Division" or "Facility" or "District D" or ...
    ... but it would never be "council".
    HTH.
    Charlie

  • Need to pull down FF to allow resident computer taskbar

    I need to pull down the FF page at the top to allow my resident task bar/easy access to other programs I'm running, but can't figure out how to do this...

    Hello,
    Thanks for contacting National Instruments.
    I think you can accomplish what you are trying to do by using a different mode instead of Automatic. For example, if you use the Scanned mode, then you should be able to set the ExpPacketRate to the value you are interested in using as the poll rate. This information is documented on page 2-59 of the following manual.
    http://digital.ni.com/manuals.nsf/webAdvsearch/659F311DE89061978625680F0059DCF7?OpenDocument&vid=niwc&node=132100_US
    Hope this helps!
    Regards,
    Steven B.
    Applications Engineering
    National Instruments

Maybe you are looking for

  • How do i get my apps back if i just got a new one and the old one was damaged

    i just got a new ipod. my old one got damaged and i dont know how to get my apps back

  • Database access error message????

    Hello, Could U please Help?????? I am getting the below error message when running the program. Is there any mistake in the database connection method? I am using MS Access database and below is the connection code java.sql.*; Class.forName("sun.jdbc

  • Acrobat 8 and Dual-Boot computer

    Scenario: I have my home computer set up to dual-boot both Windows XP and Windows Vista. I have purchased the full version of Acrobat 8. I have already installed Acrobat on the Vista installation, and would now like to install it on the XP installati

  • All stacked photos show on iPad/iPhone

    Has anyone worked around this? I stack images in Aperture. I set the pick to be the result of several images and several versions. Unfortunately, on the iPad/iPhone, ALL the photos show. All the physical and virtual versions are there for all to see.

  • Auto expand of layout or reports

    Hi, I have developed a report which prints a bill on a letterhead, as a developer i designed it in such a way that the contents do not cross beyond one page (keeping in mind the maximum data) but when the user selects some data its shrinks(i made the