Git Product home page Git Product logo

coincapapi's Introduction

CoinCapApi

CoinCap Logo

CoinCap API Library for .NET

Sponsor Nuget FOSSA Status Codacy Badge CodeQL Tests

CoinCap API Documentation

Library Documentation

Features

  • Supports all API calls
  • Supports WebSocket API
  • Method names and locations match API
  • Concrete classes
  • Fully asynchronous
  • Compatible with dependency injection and logging
  • Integrated response caching
  • Easier to use then other libraries

Just create an instance of 'CoinCapClient' and start making calls.

coincapapi's People

Contributors

byronap avatar

Watchers

 avatar  avatar

coincapapi's Issues

Question: In what order is historical data returned?

I am wanting to call the historical asset data API and I am wondering in what order is the data returned. Is it the most recent data first and then the last element in the list is the piece of data from longest ago?

I apologize for asking in this forum, but the CoinCap API docs are not very helpful.

Suggest you rename the `TimeInterval` enum to something more specific to this library

namespace CoinCapApi.Types
{
    public enum TimeInterval
    {
        /// <summary>
        /// 1 minute
        /// </summary>
        M1 = 1,

        /// <summary>
        /// 5 minutes
        /// </summary>
        M5 = 2,

        /// <summary>
        /// 15 minutes
        /// </summary>
        M15 = 4,

        /// <summary>
        /// 30 minutes
        /// </summary>
        M30 = 8,

        /// <summary>
        /// 1 hour
        /// </summary>
        H1 = 16,

        /// <summary>
        /// 2 hours
        /// </summary>
        H2 = 32,

        /// <summary>
        /// 6 hours
        /// </summary>
        H6 = 64,

        /// <summary>
        /// 12 hours
        /// </summary>
        H12 = 128,

        /// <summary>
        /// 1 day (24 hours)
        /// </summary>
        D1 = 256
    }
}

Listing 1. The TimeInterval enum.

@ByronAP hello. I have a suggestion. The enum shown in Listing 1 is named TimeInterval. This is pretty generic.

I suggest you rename it something such as CoinCapTimeInterval or somesuch. This way, it would not clash with any other symbols that the developer consuming this library has named TimeInterval as well.

.NET Framework?

The NuGet package won't install in my project. I am working on a .NET Framework 4.8 class library. Is there a way to make it support the .NET Framework? Thanks.

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.