Coder Social home page Coder Social logo

.net-launch-dashboard's Introduction

.NET Launch Dashboard

NuGet Downloads Build Issues Stars License Doxygen

Wrapper for Launch Dashboard API project, providing information about the telemetry of launching rockets. To learn more, you can use Doxygen or directly documentation of the API (method names are very familiar with endpoints).

Installation

or

  • search "DotNetLaunchDashboard" in Package Manager

or

  • run Install-Package DotNetLaunchDashboard in the Package Manager Console

Minimal requirements

Library is built on .NET Standard 2.0 which contains support for:

  • .NET Framework 4.6.1 or higher
  • .NET Core 2.0 or higher
  • Mono 5.4 or higher
  • Xamarin.iOS 10.14 or higher
  • Xamarin.Mac 3.8 or higher
  • Xamarin.Android 8.0 or higher
  • Universal Windows Platform 10.0.16299 or higher

External dependencies:

Example usage

using System;
using System.Threading.Tasks;
using DotNetLaunchDashboard;
using DotNetLaunchDashboard.Live;

namespace ExampleApp
{
    class Program
    {
        static async Task Main()
        {
            var liveTelemetry = new LiveTelemetry();
            liveTelemetry.OnConnected += (sender, args) => Console.WriteLine("Connected to the live telemetry stream");
            liveTelemetry.OnClosed += (sender, args) => Console.WriteLine($"Disconnected from the live telemetry stream (reason: {args})");
            liveTelemetry.OnError += (sender, args) => Console.WriteLine($"Error: {args.Text}");
            liveTelemetry.OnRawTelemetry += (sender, args) =>
                Console.WriteLine($"Raw: time: {args.Time}, " +
                                  $"alt: {args.Altitude}, " +
                                  $"vel: {args.Velocity}");
            liveTelemetry.OnAnalysedTelemetry += (sender, args) =>
                Console.WriteLine($"Analysed: time: {args.Time}, " +
                                  $"alt: {args.Altitude}, " +
                                  $"vel: {args.Velocity}, " +
                                  $"velX: {args.VelocityX}, " +
                                  $"velY: {args.VelocityY}, " +
                                  $"dDist: {args.DownrangeDistance}, " +
                                  $"angle: {args.Angle}, " +
                                  $"q: {args.Q}");
            await liveTelemetry.StartAsync();
            
            var launchDashboardCore = new LaunchDashboardCore();
            var result1 = await launchDashboardCore.Info().ExecuteAsync();
            var result2 = await launchDashboardCore.Analysed("spacex").WithFlightNumber(80).ExecuteAsync();
            var result3 = await launchDashboardCore.Events("spacex").WithFlightNumber(80).ExecuteAsync();
            var result4 = await launchDashboardCore.Launches("spacex").WithFlightNumber(80).ExecuteAsync();
            var result5 = await launchDashboardCore.Raw("spacex")
                .WithStart(10)
                .WithEnd(20)
                .WithInterval(1)
                .WithFlightNumber(80)
                .ExecuteAsync();

            Console.Read();
        }
    }
}

.net-launch-dashboard's People

Contributors

tearth avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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.