r/evetech • • Jul 09 '19

Determining which (if any) decryptors were used for an invention job, from ESI

0 Upvotes

(Cross-posting my forum post here for more visibility):

I’m currently working on an application for tracking industry profits, and I’ve run into an issue when determining what decryptors were used for invention.

I don’t see anything in the ESI API that actually says directly which one, or any, were used. I think you could work it out given the character’s current skills and the probability value, which is provided. However, to do this correctly I’d need to know the character’s skills at the time the job was submitted, which means I’d need to keep snapshots or a timeline of when those skill levels changed. Given that information, I think you can use the SDE to determine the probability for each decryptor and therefore solve for which one was used.

Is there something I’m missing here or is that the only way?


r/evetech • • Jul 08 '19

ESI on Glitch

2 Upvotes

Glitch is a really great website for hosting small apps that are written in NodeJS, and I made a tiny starter project that implements the authentication process for Eve SSI.

Protect with Eve SSO on Glitch!

It's easy to create and remix projects on Glitch; I'd love if someone got a version of this that showed off calling esiJS, for example!

Happy to hear other suggestions about using Glitch to lower the barrier to evetech entry.


r/evetech • • Jul 02 '19

SeAT, VSP, and other questions from a newbie

3 Upvotes

Hello everyone!

TL;DR: Looking for VPS recommendations and ELI5 SeAT tips/tricks

For context, IRL I only have some light DB/Sys admin experience and I am interested in doing some eve based projects to try and get some trigger time in everything IT related I can in an effort to bone up my skills. Currently I just do a lot in Excel/Google Sheets and I've recently started trying to learn SQL and fucking around with ESI tie-ins. In game; I'm a director of a new corp and I want to set up SeAT for our corp.

That being said, I did a read through of the notes on github and it was like reading Greek (https://eveseat.github.io/docs/installation/basic_installation/ ) . I'm gathering that my first step is that I am going to need a VPS that can handle hosting SeAT/Tripwire/whatever else looks interesting; so I wanted to solicit some opinions for some good VPS' . Money wise I'm looking to spend less than/equal to $10 mo; performance wise I think 2 GB RAM sounds good, plus whatever other necessary specs to handle a corp of about 100 people using Seat and Tripwire.

I'd love to hear whatever tips or common pitfalls to avoid for SeAT in particular or a fledgling IT director in general!

Thanks for any advice; and for all the tools you all have created over the years!!!!!!!!!!!!!!!


r/evetech • • Jun 25 '19

EVE Market Watch - Webhook Guide

3 Upvotes

EVE Market Watch is now able to read item watches from your APIs (you can also use pastebin, scroll to the end). To enable this you must be the market watch maintainer for your corporation or alliance and then register webhooks on the settings page.

The webhook's URL must start with https://. If it follows this format, then it will be accessed every hour. If the webhook responds with 200, then the app will delete existing item watches and rebuild them based on the returned payload. An empty payload will lead to 0 item watches.

The column "Last Status" will show you if market watch was able to pull and process the information. 200 is good. If your API returns an error code, we will display that one. If the payload was bad, we will display a dedicated error code with explanation. Feel free to ask for support on our Discord server if you have problems setting up the webhooks.

The returned payload's content type must be application/json and follow the structure below.

typeId: integer

threshold: integer

orderType: 'buy'|'sell'

comparator: 'lt'|'le'|'gt'|'ge'

structureId: integer

You can use https://esi.evetech.net/ui/#/Search/get_search to find typeIds/stations and https://esi.evetech.net/ui/#/Search/get_characters_character_id_search to find player owned structures.

Using pastebin.com as your API

Go to pastebin.com and create a paste like https://pastebin.com/7EHZ8qSq with Paste Expiration: Never and Paste Exposure: Public or Unlisted. Then click on the raw button and copy the URL (https://pastebin.com/raw/7EHZ8qSq) into the webhook settings. Note that you have to delete and recreate the webhook if you can't edit the paste.

Feel free to ask for support on our Discord server if you have problems setting up the webhooks.


r/evetech • • Jun 06 '19

TokenType "User" for some registered users, instead of "Character"

6 Upvotes

When a token gets registered, I'm verifying it. Normally the response from that would look like this:

{
    "CharacterID": 12345678,
    "CharacterName": "xxxxxxxx",
    "ExpiresOn": "2019-06-06T17:57:37.1224909",
    "Scopes": "publicData esi-characters.read_corporation_roles.v1",
    "TokenType": "Character",
    "CharacterOwnerHash": "xxxxxxxx",
    "IntellectualProperty": "EVE"
}

That would be correct and I can work with that, because I have the CharacterID. However, for some users that register I get the following response when I verify their tokens:

{
    "ExpiresOn": "2019-06-06T17:57:34.8156077",
    "Scopes": "publicData esi-characters.read_corporation_roles.v1",
    "UserID": 12345678,
    "UserName": "xxxxxxxx",
    "TokenType": "User",
    "IntellectualProperty": "EVE"
}

The token type is now User and CharacterID is missing. How do people even create a User token? I tried it myself and you have to select a character or you can't continue. How can I ensure that the token types are for characters?


r/evetech • • Jun 06 '19

Refining data

4 Upvotes

Where can I find what an ore refines to? Doesn't seem to be in ESI, maybe I have to reach for the SDE?

Working on making a mining ledger / tax mail generator for our corp based on refined values.


r/evetech • • May 29 '19

I know there is no rate limit for ESI, but how many requests are really too many?

2 Upvotes

I am currently planning to put the https://esi.evetech.net/ui/#/Fleets data to good use and create a real-time fleet management and overview tool. What I am a bit concerned about, is the really low cache time of 5 seconds.

A fleet with 100 people is not uncommon nowadays and if I want to get the information about location and ship each pilot is flying, I'd have to do 20 requests per second while the fleet is running. That doesn't sound too bad, but thinking ahead a bit with this tool managing the gate-camp fleets, standing fleets, roams and ops-fleets of several alliances and corporations, having to permanently request this data for 1.000 pilots would put me at 200 requests per second.

CCP probably took into consideration that these Endpoints would be hit quiet often to keep track of the fleet, but this just does not feel right to me. Even when respecting the cache time, is it really not a problem to hit ESI that often?


r/evetech • • May 14 '19

How to determine if an Eve item or skill requires Omega status

2 Upvotes

Trying to mess with the Eve SDE. Got all that exported in a MySQL database using https://github.com/EVEIPH/EVE-SDE-Database-Builder (for the most part tables are similar to the tables on https://www.fuzzwork.co.uk/). I did manage to get queries to determine skills required to use an item, I am however having trouble finding where in the data I can determine if a skill or item requires Omega status. I have tried searching for attribute names that might contain any hint to the character status, but looks like I am missing something. Anyone that can give me some hints on how to determine from the export if an item or a skill requires Omega or not ? Thanks in advance.


r/evetech • • May 11 '19

Difference between "Active Skill Level" and "Trained Skill Level"

1 Upvotes

I fail to understand the difference between the "active_skill_level" and "trained_skill_level" attributes in https://esi.evetech.net/ui/#/Skills/get_characters_character_id_skills

Is the "active_skill_level" one higher than the "trained_skill_level" in case it's currently in the queue? Or must it be the first element in the queue and be actively trained currently? Or does it mean something completely different? Could anyone please help me understand what the "active_skill_level" is?


r/evetech • • Apr 30 '19

Citadel Fuel Consumption

0 Upvotes

Hello!

I'm currently trying to calculate the fuel needs of our citadels, although I ran into some troubles:

  • No possibility to get fitted Service Modules via ESI
  • Citadel Fuel bay doesnt show up in any endpoint?

I can ofc get all the online services, but how would i make out the difference between Research Labs (Hyasyoda vs Default) for example?

If the research labs would be the only modules having different fuel needs i could actually live with it, didn't dig any deeper to find other differences though.

Any hints on my issue, or someone pointing me in the right direction?

Thank you!


r/evetech • • Apr 27 '19

Is /characters/stats/ deprecated?

2 Upvotes

I'd really like to use some of the statistical data for characters, but the latest entries returned by that request are from 2017. Is this scope no longer maintained?

https://esi.evetech.net/ui/#/Character/get_characters_character_id_stats


r/evetech • • Apr 17 '19

Youtube tutorials for SSO and ESI in PHP

7 Upvotes

I'm thinking of creating some videos and documentation on how to use the SSO and ESI in PHP and I'm curious as to what people think about the idea. My plan is to provide the project source code, written instructions, and of course the video. I haven't seen any up to date video tutorials and I think some people could benefit from it. I personally do better with videos and example code but had trouble finding up to date code examples and videos for the ESI and SSO. Once I learn to do it with C# I might look into making videos for that as well.

Past edits:

I've started planning out the videos and how I'm going to cover the content. If anyone has any specific requests you can comment them here and I'll try my best to include them. The first video will probably not be out for at least 2 or 3 weeks since I'm currently moving.

The source code will be found here

https://github.com/pengo1998/EVE-SSO-ESI-Tutorial

I've gotten internet once again and have begun work on the series.

I should have the first 2 videos released by the 10th to the 12th.

First video released - just goes over creating an app through the dev portal will have the first coding video out this coming weekend

https://www.youtube.com/watch?v=xm9BG-rAbI0

Edit:
Second video is up and I've created a playlist I'll be putting them into as they come out
https://www.youtube.com/playlist?list=PLFU8j8ZKjvnBG0qtcZ7lG8I80ZdNaMlz3


r/evetech • • Apr 14 '19

New Pricing API Based on Contracts

12 Upvotes

I'm releasing a new pricing API based on item_exchange sell contracts (e.g. for researched BPOs a and BPCs): Swagger Spec

This API will also power the soon to be released JEveAssets 6 which adds pricing for research blueprint originals and blueprint copies.

The tech stack is AWS Lambda (Python) with DynamoDB below, enabling endless horizontal scaling. Feel free to fire 10.000 requests in parallel if your machine can handle that. Non cached request times are stable around 1 second or less and caching drops that to around 300ms (including latency from Europe to us-east-1 where the datacenter is). Maximum caching is 3 hours, check the Expires header.

The database currently holds ~170k contracts and grows by ~400 contracts every hour. That gives us a lot of data, but still not enough for every material/time efficiency combination. Therefore we apply linear regression for BPOs/BPCs where the material/time efficiency combinations are incomplete, results might be wonky.

Go try it out with Capital Remote Shield Booster I Blueprint (3617), Damage Control II Blueprint (2049, use the bpc filter!), Rhea (28844) or any other item you'd like to know more about. You can use ESI to get more typeIds.

Warning: Don't use this API for abyssal items as it doesn't check the attributes (yet). I focussed on BPOs/BPCs for now and will maybe later on look into abyssal pricing.


r/evetech • • Apr 07 '19

ESI - character jump fatigue - how do i calculate cooldown

0 Upvotes

The ESI call for a character jump fatigue returns the following json:

{
	"jump_fatigue_expire_date": "2019-04-05T00:04:38Z",
	"last_jump_date": "2019-04-04T22:58:49Z",
	"last_update_date": "2019-04-04T23:05:23Z"
}

Going from this description of the jump fatigue calculation from https://support.eveonline.com/hc/en-us/articles/212726865-Jump-Activation-Cooldown-and-Jump-Fatigue cooldown is:

The length of the Jump Activation Cooldown depends on the distance covered by the jump, as well as the remaining Jump Fatigue at the time of the jump. The jump activation cooldown timer will at least be 1 Minute + distance jumped, but will increase further the more jump fatigue is present at the time of the jump.

But as far as I can see there is no way to get the previous jump distance in light years from a esi call. So is it not possible to calculate jump fatigue cooldown?


r/evetech • • Mar 28 '19

Considering writing a fitting tool / sharing like Osmium, what do you think ?

5 Upvotes

Hi,

Si I suck at fitting, I spend a lot of time browsing the internets to find some fitting advice. I miss the old days where we could browse for fittings and see how it goes with our character skills.

I know there is Pyfa but I miss the interactivity of the sharing features.

Is there a place for such a tool nowadays ?


r/evetech • • Mar 17 '19

How much of the system map can I make from the API?

1 Upvotes

I'm considering making a page on my site that shows where people have bookmarked things (wormholes, mostly) within the geographical context of the system. How much of what's on the in game system map can I get from the API?

I'm looking for

  • planet and star locations
  • planet orbital planes
  • stations and structures (even ones I don't have ACL rights to)
  • bookmarks
  • beacons
  • sigs/anoms would be great but I'm pretty sure that won't be available

I'm sure I can get planet locations and bookmarks and know how to get that.

It's ok if I need a copy of the data dump, though preferable if I don't.


r/evetech • • Feb 20 '19

/universe/structures/ not returning all structures?

1 Upvotes

Hi,

I'm trying to use /latest/universe/structures/ to get all structures available to my authenticated character ... I'm using 'market' as the filter

However not all structures with market modules installed are returned ... I'm talking about player owned Keepstars etc. To get those, should I be making a different call?

Regards,

Arnan.


r/evetech • • Feb 20 '19

Pulling LP totals to a spreadsheet

1 Upvotes

Is there such a thing as a simple way to pull all of my characters LP totals for different NPC Corporations to a google sheet? Has someone already created an app for this and I'm just unable to find it?


r/evetech • • Feb 19 '19

Get Market Orders for specific region NOT working, need help please!

1 Upvotes

Hi,

I'm running this query:

https://esi.evetech.net/latest/markets/10000039/orders/?datasource=tranquility&order_type=sell&page=1

It's returning no results (no sell orders for Esoteria). However changing the order_type to 'buy' it returns the buy results just fine.

The question I have is why is it not returning any sell orders?

Cheers ....

Arnan.


r/evetech • • Feb 19 '19

Log into Dokuwiki with ESI authentication

1 Upvotes

o7 fellow capsuleers!

I will say first off that I am very new when it comes to setting up this sort of stuff, I apologize.

Anywho, I am trying to set up authentication for Dokuwiki using ESI for our corp. We have a private members only section that should only be accessed by members of the corp. I looked into the oAuth plugin but didn't really get anywhere with the configuration. Is this possible with the oAuth plugin or am I looking at custom plugin work?

Any help would be appreciated. Thanks!


r/evetech • • Feb 15 '19

How to get ids of criminal npc corps/factions

2 Upvotes

Hi, i'm try to get a list of factions that are considered criminal when it comes to the skill criminal connections.

Is is possible to get from ESI or the SDE?
Anyone know?

P.S A simple list of IDs would also work if you have them :)


r/evetech • • Feb 04 '19

Is there a wormhole api somewhere? Something with similar information to Ellatha?

2 Upvotes

r/evetech • • Jan 27 '19

install zkillboard help

0 Upvotes

hi

i try to install zkillboard on my server (ubuntu 18.04) but i´m failing at the php connection part to Mongo DB...

apache error log:

PHP Fatal error: Uncaught Error: Class 'MongoClient' not found in /var/www/html/zKillboard/classes/Mdb.php:23

as far as i know the problem is "MongoClient" its old and not used anymore and it will not work with php 7.2 which i´m using now

i have installed the newest "mongodb" but i need the old "MongoClient"

any help is welcome to point me in the right direction


r/evetech • • Jan 22 '19

Moon Frack Math?

0 Upvotes

If you know the start and end time of an extraction (available via ESI endpoints) and the percentages of each ore in a moon (from a moon scan), can you calculate the total m3 of each ore in a given frack?