All Projects → branchard → fast-speedtest-api

branchard / fast-speedtest-api

Licence: GPL-3.0 license
fast.com API / CLI tool

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to fast-speedtest-api

fast
fast.com cli speedtest
Stars: ✭ 46 (-66.67%)
Mutual labels:  fast, speedtest
speedInspectorRPI
A docker image with a cronjob running speedtest, audit your internet connection/ISP
Stars: ✭ 12 (-91.3%)
Mutual labels:  speedtest, speedtest-cli
Nonblocking
Implementation of a lock-free dictionary on .Net.
Stars: ✭ 237 (+71.74%)
Mutual labels:  fast
MashaRoBot
MashaRoBot : 📑Editor's choice
Stars: ✭ 39 (-71.74%)
Mutual labels:  fast
mini-async-log-c
Mini async log C port. Now with C++ wrappers.
Stars: ✭ 69 (-50%)
Mutual labels:  fast
Bazel Watcher
Tools for building Bazel targets when source files change.
Stars: ✭ 245 (+77.54%)
Mutual labels:  fast
PyGLM
Fast OpenGL Mathematics (GLM) for Python
Stars: ✭ 167 (+21.01%)
Mutual labels:  fast
Bombardier
Fast cross-platform HTTP benchmarking tool written in Go
Stars: ✭ 2,952 (+2039.13%)
Mutual labels:  fast
DFPlayerMini Fast
Fast and easy to understand Arduino library to use the DFPlayer Mini MP3 module from DFRobot.com. This is a huge improvement (both in terms of execution speed and simplicity) to the standard library provided by DFRobot.com.
Stars: ✭ 164 (+18.84%)
Mutual labels:  fast
HowSlow
A Service Worker that monitors network requests to estimate bandwidth and RTT
Stars: ✭ 38 (-72.46%)
Mutual labels:  speedtest
muparsersse
muparsersse a math parser for windows using just in time compilations of the expression
Stars: ✭ 14 (-89.86%)
Mutual labels:  fast
Pareto.js
An extremely small, intuitive and fast functional utility library for JavaScript
Stars: ✭ 254 (+84.06%)
Mutual labels:  fast
Clevergo
👅 CleverGo is a lightweight, feature rich and high performance HTTP router for Go.
Stars: ✭ 246 (+78.26%)
Mutual labels:  fast
docker-swoole-webapp
Simple Docker-image to build your applications based on Async PHP extensions.
Stars: ✭ 26 (-81.16%)
Mutual labels:  fast
Router
Router implementation for fasthttp
Stars: ✭ 234 (+69.57%)
Mutual labels:  fast
websocket
WebSocket for fasthttp
Stars: ✭ 51 (-63.04%)
Mutual labels:  fast
Csv
[DEPRECATED] See https://github.com/p-ranav/csv2
Stars: ✭ 237 (+71.74%)
Mutual labels:  fast
Geokdbush
The fastest spatial index for geographic locations in JavaScript
Stars: ✭ 251 (+81.88%)
Mutual labels:  fast
Signals.jl
Multi-Paradigm Dynamic Fast Functional Reactive Programming in Julia
Stars: ✭ 37 (-73.19%)
Mutual labels:  fast
jazzle
An Innovative, Fast Transpiler for ECMAScript 2015 and later
Stars: ✭ 65 (-52.9%)
Mutual labels:  fast

fast.com logo

fast.com API / CLI tool

Build Status NPM version Node version GitHub license

A speed test powered by fast.com
From scratch, with no dependencies

Installation

$ npm install --save fast-speedtest-api

Command-Line Tool

$ npm install --global fast-speedtest-api
$ fast-speedtest --help
    fast-speedtest - speed test powered by fast.com
    usage: fast-speedtest token [-v, --verbose] [-r, --raw] [-n, --no-https] [-t, --timeout timeout] [-c, --count url-count] [-b, --buffer buffer-size] [-u, --unit output-unit]

Api usage

Example:

const FastSpeedtest = require("fast-speedtest-api");

let speedtest = new FastSpeedtest({
    token: "your-app-token", // required
    verbose: false, // default: false
    timeout: 10000, // default: 5000
    https: true, // default: true
    urlCount: 5, // default: 5
    bufferSize: 8, // default: 8
    unit: FastSpeedtest.UNITS.Mbps, // default: Bps
    proxy: 'http://optional:auth@my-proxy:123' // default: undefined
});

speedtest.getSpeed().then(s => {
    console.log(`Speed: ${s} Mbps`);
}).catch(e => {
    console.error(e.message);
});

FAQ

How to get app token ?

Go on fast.com, open your browser devtools, go on Network tab and copy the token on the request url that looks like https://api.fast.com/netflix/speedtest?https=true&token=<the-token>&urlCount=5

TODO

  • Better verbose mode
  • Add tests

Feel free to contribute

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].