Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/johncol/stocks-api

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/johncol/stocks-api

  • v0.0.0-20231230065834-f5a7189f7a77
  • Source
  • Go
  • Socket score

Version published
Created
Source

Stocks API

Dummy API written in Go to get stock values as part of the interview process for Twilio Colombia.

Run with

go run stock-api.go

Then in your browser go to http://localhost:8080/?symbol={STOCK-SYMBOL} and get a JSON response like:

{
  "symbol": "{STOCK-SYMBOL}",
  "date": "2018-09-28 15:55:00",
  "value": "86.2800"
}

FAQs

Package last updated on 30 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc