Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Nov 17, 2024. It is now read-only.
/apiPublic archive

Golang, NodeJS, and Python client libraries for communicating with the deps.cloud API.

License

NotificationsYou must be signed in to change notification settings

depscloud/api

Repository files navigation

licenselicense check

  • API - application programming interface
  • SDK - software development kit

This repository contains all API definitions and associated language SDKs available for thedeps.cloud ecosystem.APIs are defined using Google'sProtocol Buffers.UsinggRPC, we're able to code generate client libraries.This repository currently produces 3 libraries:

TechSourcePackage
npmnodejs source@depscloud/api
pippython sourcedepscloud_api (coming soon!)
go modgithub.com/depscloud/api

Getting Started with Go

To install:

go get -u github.com/depscloud/api

Usage:

package mainimport ("crypto/tls""github.com/depscloud/api/v1alpha/extractor""github.com/depscloud/api/v1alpha/tracker""google.golang.org/grpc""google.golang.org/grpc/credentials")funcmain() {target:="api.deps.cloud:443"creds:=credentials.NewTLS(&tls.Config{})conn,_:=grpc.Dial(target,grpc.WithTransportCredentials(creds))deferconn.Close()sourceService:=tracker.NewSourceServiceClient(conn)moduleService:=tracker.NewModuleServiceClient(conn)dependencyService:=tracker.NewDependencyServiceClient(conn)}

Support

Join ourmailing list to get access to virtual events and ask any questions there.

We also have aSlack channel.

Release Checks

tagnpmgo.modpypi

License Checks

fossaanalytics


[8]ページ先頭

©2009-2025 Movatter.jp