Coder Social home page Coder Social logo

robjohnston / anxpro.api Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 51 KB

A .Net Standard client for the ANXPRO cryptocurrency API.

Home Page: https://anxpro.com/pages/api

License: MIT License

C# 100.00%
api-client cryptocurrency bitcoin litecoin dogecoin stellar ripple anxpro crypto-exchange

anxpro.api's Introduction

AnxPro.Api

A .Net Standard client for the ANXPRO V3 cryptocurrency API.

This is an alpha version, meaning the API is not feature complete and may contain bugs.

In fact, it's almost a guarantee to contain bugs because I don't have any coins on this exchange. But you can fix that part of the problem right now...

Contribute to this project by sending some XɃT my way: 1AcmMBDMTQYTzgc6E5qtA8m3GCKTR7HuiN

Example usage

using System;
using AnxPro.Api;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello ANXPRO!");

            using (var client = new AnxProClient())
            {
                try
                {
                    // Get all the supported currencies.
                    var result = client.GetCurrenciesAsync().GetAwaiter().GetResult();

                    foreach (var currency in result.CurrencyStatic.Currencies)
                    {
                        Console.WriteLine(currency.Key + " - " + currency.Value.Symbol);
                    }

                    // Get all the currency pairs.
                    foreach (var pair in result.CurrencyStatic.CurrencyPairs)
                    {
                        Console.WriteLine(pair.Key + " - " + pair.Value.PreferredMarket);
                    }
                }
                catch (Exception ex)
                {
                    Console.WriteLine(ex.Message);
                }
            }

            Console.WriteLine("\nPress 'Enter' Key to Continue.........");
            Console.ReadKey();
        }
    }
}

anxpro.api's People

Contributors

robjohnston avatar

Watchers

 avatar  avatar

anxpro.api's Issues

Closing notice

Noticed on the AnxPro website today:

CLOSING NOTICE
2020-11-28

The Site and/or the Platform will be expected to be shut down by mid of January 2020 and as a result, all accounts on the Platform will then be closed. You are advised to withdraw any remaining balance immediately prior to the closure of account and the discontinuance of Platform operation.

I assume they meant January 2021.

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.