Ditutup

google API, captcha, credentials

I need this in 24 hours.

I have code that connects to Google's API. It works, it seems in Eclipse but when I run it from the command line I sometimes get an error about "captcha credentials". I need this to run without any user interaction because this code needs to run on a Windows scheduler. In fact I will be running 30 slight variations of this code 30 times a day and without user interaction.

I have run the code that connects to the API in Eclipse and I can get it to write the results of connecting to the API, but I cannot get it to run in the command prompt and when I use in my code as an instantiation of the class. (see error below).

I cannot use Eclipse. I need a solution that I can compile myself from the command prompt. I only know how to use the 'java' command and the 'javac' command so I need your solution to be in a format that will allow just these two commands. Also, the solution should be a separate class that I can instantiate in my main code (as is already done).

In order to do this project you must create your own google finance account. This is easy and takes not more than 2 minutes to do. Of course it is free. I describe what you need to do below.

Here is the error message:

C:\Users\Bill\Desktop\test bed\bin>java -cp .\;[url removed, login to view];.\[url removed, login to view];.\gd

[url removed, login to view];.\[url removed, login to view];.\[url removed, login to view];.\[url removed, login to view];

.\[url removed, login to view];.\[url removed, login to view];.\[url removed, login to view];.\google-collect

[url removed, login to view];.\[url removed, login to view];.\[url removed, login to view];.\[url removed, login to view] JavaWekaJ48TestTrainPredSQL_updated5

Invalid Credentials!

[url removed, login to view]$CaptchaRequiredException: Captcha required

at [url removed, login to view](GoogleAuthTokenFa

[url removed, login to view])

at [url removed, login to view](GoogleAuthTokenFactor

[url removed, login to view])

at [url removed, login to view](GoogleAuthToken

[url removed, login to view])

at [url removed, login to view]([url removed, login to view])

at [url removed, login to view]([url removed, login to view])

at [url removed, login to view]([url removed, login to view])

at [url removed, login to view]([url removed, login to view]

)

at finance.google.FinancePortfoliosClient.<init>([url removed, login to view])

at [url removed, login to view]([url removed, login to view]

va:63)

NOTE: YOU NEED TO REGISTER FOR GOOGLE FINANCE AND CREATE A PORTFOLIO. THIS IS EASY. IT TAKES 2 MINUTES TO DO.

To use Google Finance you just need a Google account and then go to the Finance page and create a portfolio. A portfolio just consists of one or more stocks. You just enter the stock symbol (like COKE for Coca-cola, F for Ford, DIS for Disney) and then you have Coca-cola in your portfolio, Ford, Disney in your portfolio and that is all you need. Google will then show you info about your stocks. In particular it will show Symbol Last price Change Mkt cap Volume Open High Low. I just need to access LAST PRICE field for each stock in my portfolio. I don't need to write to the portfolio. I just need to acccess these fields.

You need to fill in the username etc in TestFinanceModule.java. The instantiation of the class occurs on lines 59 to 61 of the main code which is in a file called [url removed, login to view] (note I have removed my passwords from this file).

Code is attached

Kemahiran: Java

Lihat lebih lanjut: google api captcha, java captcha api, google captcha code java, captcha google api, captcha java api, google api without credentials, format google finance, captcha api java, use api project credentials, credentials captcha, google api credentials, google captcha java, google java api, java google captcha, java portfolio, change jar, captcha error message, captcha credentials, google java captcha, maps google api, write portfolio, maps line, windows api, weka, servlet

Tentang Majikan:
( 7 ulasan ) Auckland, Japan

ID Projek: #1542754

3 pekerja bebas membida secara purata $85 untuk pekerjaan ini

IMSeriousBidder

Hello, I can do this project very quickly please check your PM Thanks

$85 NZD dalam 0 hari
(60 Ulasan)
6.7
buzzcoder

Hi,kindly check your pm,thanks.

$85 NZD dalam 0 hari
(41 Ulasan)
5.5
diamond1027

Hi, I can start right it now. I have experience on your project. Regards.

$50 NZD dalam sehari
(15 Ulasan)
3.8
VeH9X52mK

Pls check PMB.

$85 NZD dalam sehari
(0 Ulasan)
0.0