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

@code.gov/code-gov-api-client

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@code.gov/code-gov-api-client - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

package.json
{
"name": "@code.gov/code-gov-api-client",
"version": "0.0.2",
"version": "0.0.3",
"description": "Client for Interacting with Code.gov API",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -1,27 +0,9 @@

# Alpha version
This code is still being developed. It should not be used in production.
WARNING: This package has moved to @code.gov/api-client.
# code-gov-api-client
Client for Interacting with Code.gov API
View the new package here:
https://www.npmjs.com/package/@code.gov/api-client
# installation
Install the new version with
```
npm install '@code.gov/code-gov-api-client';
npm install '@code.gov/api-client';
```
# usage
```
import { CodeGovAPIClient } from "code-gov-api-client";
// initialize client
let client = new CodeGovAPIClient();
// get search results for "Space"
let results = client.search("Space");
// get all repositories by an Agency
let repos = client.getAgencyRepos("SSA");
// get information about a specific repository
let repo = client.getRepoByID("nasa_dfrc_dthdata_armstrong_time_history_software_utility");
```
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