These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Yapeal PHP API library (version 1.0.5)

First post
Author
Mintoko
Taedium In Perpetuam
#401 - 2013-07-20 01:20:50 UTC
Nothing was deactivated, but I noticed last night that the activeAPIMask in utilRegisteredKey was incorrect. I had never changed it, so I don't know what happened. I corrected it, but still could not get it to pull the data. I just now checked the activeAPIMask in utilRegisteredCorporation and found it to also be incorrect. It's been corrected and is now pulling data.

I'm going through the logs now.

Thank you
Somerset Mahm
Cognitive Distortion
#402 - 2013-07-20 01:34:54 UTC
Yes, I think there is a feature somewhere that will deactivate single APIs if they throw certain errors that say you don't have permission (which is an API failure, not your fault or Yapeal's fault).

One of the ideas I have for Yapeal is a sort of status dashboard or heath check where you can quickly see what is working and when it was last updated. So that might help you in the future.

SOMER Blink Microlotteries that finish in minutes! Running for over 2 years :)

Drapko Nitzhonot
Abdera Logistics
#403 - 2013-07-20 11:06:03 UTC  |  Edited by: Drapko Nitzhonot
I receive an email when keys are deactivated. I changed level value="info" to level value="warn" in logger.xml, line 124.

BTW, is there any news on char/ContactList?
Somerset Mahm
Cognitive Distortion
#404 - 2013-07-20 17:49:09 UTC
Without a bug reporting system I was reduced to tweeting at PrismX and haven't gotten a reply.

SOMER Blink Microlotteries that finish in minutes! Running for over 2 years :)

Mintoko
Taedium In Perpetuam
#405 - 2013-07-21 01:24:30 UTC
What's the purpose of utilRegisteredUploader and utilUploadDestination?

Also, is there any benefit either way of storing the cache in the database vs a file?
Louis Vitton
Viziam
Amarr Empire
#406 - 2013-07-21 02:00:53 UTC
You dont need to store the cache at all if you dont want to.
There are two options provided and their main usage is for troubleshooting issues when they arise cause then you can check the XML returned from the eve online api and compare it to the yepeal database to see what is and what is not getting pulled and possibly why.
It will also let you know if pulls are coming though for that api or not by been able to check the cache.
If you have space limits on your host / provider you dont need to keep them at all.
Riley Masterson
Mechanical Basterds
#407 - 2013-07-21 16:14:55 UTC
I'm getting the following 403 error. when running yapeal.php Any idea what I might need to look at to correct this one?

INFO: 403 Forbidden for API https://api.eveonline.com/account/APIKeyInfo.xml.aspx
File: ~/yapeal/class/YapealNetworkConnection.php(103)


I've tried wiping out the whole install and setting it up from scratch. I kept my database, it appeared to upgrade fine
Somerset Mahm
Cognitive Distortion
#408 - 2013-07-21 20:00:16 UTC
403 means your credentials are invalid or you sent a bad request. Did your API key expire? They normally have an expiry of a year.

SOMER Blink Microlotteries that finish in minutes! Running for over 2 years :)

Riley Masterson
Mechanical Basterds
#409 - 2013-07-21 22:20:41 UTC
It turns out it was expired credentials. Someone had removed their key and created a new one and the old key caused the error.

Thanks!
Chian XinLian
Darwin's Contraptions
Imperial Research
#410 - 2013-07-28 10:52:10 UTC  |  Edited by: Chian XinLian
Any idea why when I'm running Yapeal, it doesnt update ME/PE/Copy corporation jobs correctly? And today it even seems to be failing manufacturing jobs.. Invention jobs however still currently update correctly when finished..

There are no errors towards corpIndustryJobs api when Yapeal runs.
Somerset Mahm
Cognitive Distortion
#411 - 2013-08-02 06:37:17 UTC
I use Yapeal to track almost 20 characters' worth of jobs. What kind of keys are you using to track the jobs?

SOMER Blink Microlotteries that finish in minutes! Running for over 2 years :)

Erica Northman
Aliastra
Gallente Federation
#412 - 2013-08-03 09:27:55 UTC
Somerset Mahm wrote:
I use Yapeal to track almost 20 characters' worth of jobs. What kind of keys are you using to track the jobs?


Are there any restrictions of how many characters/corporations u can track with Yapeal? I theory could u track 1000 corporations? Idea

Creator of evemanager. Project website.

Louis Vitton
Viziam
Amarr Empire
#413 - 2013-08-03 10:50:03 UTC
In theory there is no restriction i am aware of in the software. However CCP may or may not allow you to do this as you would put a heavy load on their server requesting that much data all the time.
**Please note this is what i am aware of from my use of yapeal.
Erica Northman
Aliastra
Gallente Federation
#414 - 2013-08-03 11:05:28 UTC
Louis Vitton wrote:
In theory there is no restriction i am aware of in the software. However CCP may or may not allow you to do this as you would put a heavy load on their server requesting that much data all the time.
**Please note this is what i am aware of from my use of yapeal.


Buyt yapeal checks cache and does not query the API-server unnecessary? And how does EVE-KILL do it? They do alot of pulling requests.

Creator of evemanager. Project website.

Louis Vitton
Viziam
Amarr Empire
#415 - 2013-08-03 11:26:54 UTC
I believe it pauses between requests or groups of requests i am not sure if yapeal does this.
Somerset Mahm
Cognitive Distortion
#416 - 2013-08-04 23:13:30 UTC
As long as you make valid requests CCP has no limiting in place. You only get in trouble if you make invalid requests like trying to scrape character names, etc.

SOMER Blink Microlotteries that finish in minutes! Running for over 2 years :)

Lara Masuka
Effort Inc
Goonswarm Federation
#417 - 2013-08-05 22:23:05 UTC
Is there any chance that the CorporationSheet API is not working for corporations with no API key on file (CCP does deliver information on that API without API keys)?

I'm trying to pull information on a bunch of corporations and it works on one corp where I have an API key on file, but all remaining corps won't get an entry in the corpcorporationsheet table. I did register their corporation IDs though and they're all listed in utilregisteredcorporation.
Somerset Mahm
Cognitive Distortion
#418 - 2013-08-07 04:20:56 UTC
I believe Yapeal only operates on the full-permissions CorporationSheet. I'll take another look.

SOMER Blink Microlotteries that finish in minutes! Running for over 2 years :)

Atomic Hedgehog
Deep Core Mining Inc.
Caldari State
#419 - 2013-08-12 09:04:41 UTC
am I doing something wrong

php -f ./yapeal.php results in this

2013-08-12 08:54:06.376
INFO: No corporations for corp section
File: /root/Downloads/yapeal/class/SectionCorp.php(82)

running this on centos 6.4 or trying to anyways.

the db is created and user has access
Louis Vitton
Viziam
Amarr Empire
#420 - 2013-08-12 09:15:14 UTC  |  Edited by: Louis Vitton
Do you have a corp key in the database? If not thats why you get that Info message.
also if you dont want to get the message then you can set active to 0 in utilSections i think i am at work so cannt check the database table name.