Skip to content

Instantly share code, notes, and snippets.

View shreks7's full-sized avatar

Shrey shreks7

  • San Francisco
View GitHub Profile
@shreks7
shreks7 / api.congress.gov
Created December 31, 2025 20:45
Swagger for LibraryOfCongress
{
"openapi": "3.0.3",
"info": {
"description": "Congress.gov shares its application programming interface (API) with the public to ingest the Congressional data. <a href=\"sign-up/\" target=\"_blank\">Sign up for an API key</a> from api.data.gov that you can use to access web services provided by Congress.gov. To learn more, view our <a href=\"https://github.com/LibraryOfCongress/api.congress.gov/\" target=\"_blank\">GitHub repository</a>.\n",
"title": "Congress.gov API",
"version": "3"
},
"servers": [
{
"url": "/v3"
@shreks7
shreks7 / jsonplaceholder
Created December 27, 2025 23:59
JSONPlaceholder API Spec
openapi: '3.0.2'
info:
title: JSONPlaceholder
version: '1.0'
servers:
- url: https://jsonplaceholder.typicode.com/
components:
schemas:
post:
@shreks7
shreks7 / cats.json
Last active December 28, 2025 16:42
Cats openapi 3.0.0
{
"openapi": "3.0.0",
"info": {
"title": "Cat Fact API",
"description": "An API for facts about cats",
"contact": {
"email": "contact@catfact.ninja"
},
"version": "1.0.0"
},
@shreks7
shreks7 / ATSHA204.cpp
Created January 20, 2016 15:36 — forked from ghedo/ATSHA204.cpp
Arduino library for the ATSHA204 authentication chip
/*
* Arduino library for the ATSHA204 authentication chip.
*
* The ATSHA204 is a tiny and low-power authentication chip. This library
* implements a simple interface to access most of the chip functionality from
* an Arduino.
*
* Note that only the Single-Wire Interface (SWI) is currently supported.
*
* FEATURES: