Giter VIP home page Giter VIP logo

esisharp's Introduction

esisharp's People

Contributors

mrnukealizer avatar tomcur avatar wranders avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

esisharp's Issues

Scope Verification

ESI scopes have changed. Some are new, some are different.

New

Alliances

  • esi-alliances.read_contacts.v1

Assets

  • esi-assets.read_assets.v1
  • esi-assets.read_corporation_assets.v1

Bookmarks

  • esi-bookmarks.read_character_bookmarks.v1
  • esi-bookmarks.read_corporation_bookmarks.v1

Calendar

  • esi-calendar.read_calendar_events.v1
  • esi-calendar.respond_calendar_events.v1

Characters

  • esi-characters.read_agents_research.v1
  • esi-characters.read_blueprints.v1
  • esi-characters.read_chat_channels.v1
  • esi-characters.read_contacts.v1
  • esi-characters.read_corporation_roles.v1
  • esi-characters.read_fatigue.v1
  • esi-characters.read_loyalty.v1
  • esi-characters.read_medals.v1
  • esi-characters.read_notifications.v1
  • esi-characters.read_opportunities.v1
  • esi-characters.read_standings.v1
  • esi-characters.read_titles.v1
  • esi-characters.write_contacts.v1

Clones

  • esi-clones.read_clones.v1
  • esi-clones.read_implants.v1

Contracts

  • esi-contracts.read_character_contracts.v1
  • esi-contracts.read_corporation_contracts.v1

Corporations

  • esi-corporations.read_blueprints.v1
  • esi-corporations.read_container_logs.v1
  • esi-corporations.read_contacts.v1
  • esi-corporations.read_corporation_membership.v1
  • esi-corporations.read_divisions.v1
  • esi-corporations.read_facilities.v1
  • esi-corporations.read_medals.v1
  • esi-corporations.read_standings.v1
  • esi-corporations.read_starbases.v1
  • esi-corporations.read_structures.v1
  • esi-corporations.read_titles.v1
  • esi-corporations.track_members.v1
  • esi-corporations.write_structures.v1

Fittings

  • esi-fittings.read_fittings.v1
  • esi-fittings.write_fittings.v1

Fleets

  • esi-fleets.read_fleet.v1
  • esi-fleets.write_fleet.v1

Industry

  • esi-industry.read_character_jobs.v1
  • esi-industry.read_character_mining.v1
  • esi-industry.read_corporation_jobs.v1
  • esi-industry.read_corporation_mining.v1

Killmails

  • esi-killmails.read_corporation_killmails.v1
  • esi-killmails.read_killmails.v1

Location

  • esi-location.read_location.v1
  • esi-location.read_online.v1
  • esi-location.read_ship_type.v1

Mail

  • esi-mail.organize_mail.v1
  • esi-mail.read_mail.v1
  • esi-mail.send_mail.v1

Markets

  • esi-markets.read_character_orders.v1
  • esi-markets.read_corporation_orders.v1
  • esi-markets.structure_markets.v1

Planets

  • esi-planets.manage_planets.v1
  • esi-planets.read_customs_offices.v1

Search

  • esi-search.search_structures.v1

Skills

  • esi-skills.read_skillqueue.v1
  • esi-skills.read_skills.v1

UI

  • esi-ui.open_window.v1
  • esi-ui.write_waypoint.v1

Universe

  • esi-universe.read_structures.v1

Wallet

  • esi-wallet.read_character_wallet.v1
  • esi-wallet.read_corporation_wallet.v1
  • esi-wallet.read_corporation_wallets.v1

"{\"error\":\"[ESISharp] There was an error with the supplied credentials.\"}"

Hi, I thinks I do something wrong. When I run this code I get
_CredentialErrorMessage = "{\"error\":\"[ESISharp] There was an error with the supplied credentials.\"}"

From Public and Authenticated.

        static void Main()
        {
            var EsA = new ESISharp.Authenticated("...", "...");

            EsA.SetUserAgent("...");
            EsA.Sso.Client.SetGrantType(ESISharp.Enumeration.OAuthGrant.Authorization);
            EsA.Sso.Client.Registry.EnsureKey();

            EsA.Sso.Client.AddScope(ESISharp.Sso.Scopes.Scope.Wallet.ReadCharacterWallet);
            EsA.Sso.ForceAuthentication();

            var wbalance = EsA.Characters.Wallet.GetBalance(123456789);

            var EsB = new ESISharp.Public();
            var name = EsB.Universe.GetIds("Zydrine");
        }

I don't really know why It doesn't work.

  • I use libs and app from "ESISharp-dev-restructure"
    Thanks.

When opening SLN I get the following Build Errors

Severity Code Description Project File Line Suppression State
Error CS0246 The type or namespace name 'CharacterFactionWarfare' could not be found (are you missing a using directive or an assembly reference?) ESISharp E:\EVE API\ESISHARP\ESISharp\Path\Character.cs 100 Active
Severity Code Description Project File Line Suppression State
Error CS0246 The type or namespace name 'CharacterFactionWarfare' could not be found (are you missing a using directive or an assembly reference?) ESISharp E:\EVE API\ESISHARP\ESISharp\Path\Character.cs 136 Active
Error CS0118 'FactionWarfare' is a type but is used like a variable ESISharp E:\EVE API\ESISHARP\ESISharp\Path\Corporation.cs 103 Active
Error CS0246 The type or namespace name 'CorporationFactionWarfare' could not be found (are you missing a using directive or an assembly reference?) ESISharp E:\EVE API\ESISHARP\ESISharp\Path\Corporation.cs 103 Active

ESIEve.Authenticated(ClientID, SecretKey) Non-invocable member

Do you have an example of this working? I'm far from an expert, but it seems like the only members of the Authenticated class being recognized by VS are another Authenticated class and a Public class presumably because Authenticated inherits ESIEve.

Refactor Method Request Data

Current data structures are a bit confusing and the methods handling web requests have a bit of confusing logic in them to decide if a parameter is for a query, body, etc.

Current format:

var UrlData = new
{
    page = 1
};
var PostData = new 
{ 
    someBody = "onceToldMe"
};

Proposed format:

var Data = new
{
    query = new
    {
        page = 1
    },
    body = new
    {
        someBody = "onceToldMe"
    }
};

This should simplify the core request methods by explicitly stating where data should go, instead of having to figure it out after it's been passed. Should make it a bit more JSON-like, which is pretty.

ESI refresh token

EsA = new ESIEve.Authenticated(ClientID, SecretKey);
EsA.SSO.VerifyCallbackProtocolRegistryKey();
EsA.SSO.AddScope(ESISharp.Enumerations.Scope.Markets.ReadCharacterOrders);
_VerifyToken = EsA.SSO.VerifyToken();

I do my stuff and every things work and after 20min it stop working so I try to do a refresh token with:

var token = EsA.SSO.GetRefreshToken();
EsA.SSO.SetRefreshToken(token);

But the things is that it return a empty string and nothing work after. Do I miss understand some thing or there is a problem?

I use lib and exe from master branch. Thx in advance!

Still Active?

Is this project still active? Just curious because I'd love an ESI C# library written in .NET Core.

Thanks!

sample project

Hi,

Would it be possible to add a small example file to the solution on how to create an authenticated request and retrieve the data from ESI?
I have not done much programming in the past few years and getting the environment setup correctly is proving a bit difficult, having an example would be very helpful.

With regards,

Martijn

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.