New post for the new forums.
For all the spreadsheets in space people out there:
Details are in the readme
Enjoy.
Discord Server: GESI
Link to old post:
New post for the new forums.
For all the spreadsheets in space people out there:
Details are in the readme
Enjoy.
Discord Server: GESI
Link to old post:
Just a quick update.
Multi character auth is nearing completion. That and a general rework of some other things should be done within next few weeks.
Cheers!
Hi,
i have done everything but still got this using the Auth function:
{āerrorā:āinvalid_requestā,āerror_descriptionā:āThe callback URI doesnāt match the value stored for this clientā}
What did i wrong?
Regards
Sounds like something is messed up with the callback URL from the dev site.
Make sure it is https://script.google.com/macros/d/{SCRIPT_ID}/usercallback
where the SCRIPT_ID comes from File -> Project Properties and copy the Script ID
in the script editor.
If this doesnāt work. Try going to the GESI dropdown and click Reset Auth
. Then try reauthorizing your character.
If you wish convo me in game and we can debug this if neither of those work.
Hi Blacksmoke16,
Thanks for sharing the script and auth stuffs.
I donāt know anything about coding so no idea how the whole stuff is working.
But following your instructions in readme it works !
However, i would like to request for something new to import orders from a single citadel.
Currently it imports only up to 5000 orders ( only the first page).
Is it possible to modify the function so that it imports all the pages available; instead of only the first one ?
Cheers and thanks again
Chani
Thanks for this work!
This is a known issue on my end. It will be solved in Version 2 which should be out in a week or so.
A temp work around would be:
"url": "/markets/structures/{structure_id}/?page=2"
.page=3
and repeat.The solution for version 2 will most likely be a page
parameter that defaults to 1 if none is given. Then in your call could specify what page you want to load. Other option would be to load in ALL the data and return it, but this wonāt work to well as youād be probably hitting some Google Sheet limitations on request execution time.
Keep an eye out on this thread for the release
This is a complete rewrite of the script. Chances are you will not be able to just copy paste this version in and have it work. Please reread the readme for instructions on how to set it up again.
For information on the endpoints included, check the code starting at line 250. The annotations above each function explain what it does and what is required etc.
Another good source of information is the ESI Site itself.
Also due to the amount of work that went into this I probably forgot something or didnāt test something enough. If you find any issues, or just want to have a new endpoint added, create an issue on the github.
Enjoy!
EDIT: Pagination isnāt done yet. That will be released soonish.
2.1.0 September 2, 2017
When importing all orders from a structure is it possible to seperate sell and buy orders ? Lots of hassle to filter imported data in a spreadsheet when they are not sorted before.
No, Iām just providing the raw data.
Filtering it afterwards shouldnāt be much of an issue as you can just key off of the is_buy_order
column using the filter function, like so:
=FILTER(A1:K,E17:E = FALSE)
Where A1:K
is all of the data, and E1:E
is the is_buy_order
column. This would show you all non buy order orders. This could prob also be nested in a sort function to display the data you need.
2.2.0 September 9, 2017
Note: I donāt have enough blueprints to test to paging, so if it doesnāt work, let me know.
2.3.0 September 17, 2017
2.3.1 September 18, 2017
3.0.0 October 29, 2017
I took the time to refactor the multi character feature to include corporation_id for each character. This allows the script to know the corporation_id of each authed character so that you wonāt have to include corporation_id param for each corp endpoint.
Because of this, this version is not compatible with the previous ones. Notice the new format for the CHARACTERS array. New format is as follows:
CHARACTERS = [
{
character_name: 'character1',
corporation_id: 123
},
{
character_name: 'character2',
corporation_id: 456
}
];
Be sure to reauth your accounts in order to make use of the new endpoints.
As usual, any issues/trouble feel free to get in touch with me in game or on discord.
NOTE: I do not have a way to test the corp moon mining endpoints atm. It should work but if anyone has issues with it, let me know.
3.0.1 October 29, 2017
Thank you for creating and sharing this - it works well.
The one method I was looking for is to return Region pricing data for a specific itemID (or list of IDs).
Closest I have found is ItemHistory(). [ MarketPrices() does not have any params. ]
Does the ESI support returning only a specific item or would I need to create methods to extract individual items? Iāve looked through the ESI docs but did not see something this specific.
Thanks again for doing the heavy lifting.
Iām pretty sure my regionOrders
function can do that. There is an type_id param that will return all orders in that region for that type_id.
EDIT: I should clarify this would only give you orders which you would then have to parse to get lowest sell/highest buy etc.
Possibly checkout naudiās script. His is more market focused and might have some more useful things.
Thanks mate, Nuadi had exactly what i needed.
For anyone else looking for market specific data see: https://github.com/nuadi/googlecrestscript
3.1.0 November 2, 2017
second_party_id
column not being populated in corp/char walletJournal endpointsfrom_id
parameter to wallet endpoints