Pub: API for pub.dartlang.org

Created on 25 Dec 2015  路  2Comments  路  Source: dart-lang/pub

Is there a public JSON API for searching the package registry at pub.dartlang.org?

I'd like to build a client (either as part of the pub command or standalone) that searches the package registry.

Most helpful comment

There is. There a several packages that use it like pub of course.
There are packages like https://pub.dartlang.org/packages/pub_client, https://pub.dartlang.org/packages/bwu_pub_client which provide a Dart API to access pub.dartlang.org.
There is no documentation AFAIK, but pub.dartlang.org source is open
(https://github.com/dart-lang/pub-dartlang-dart and https://github.com/dart-lang/pub_server)

All 2 comments

There is. There a several packages that use it like pub of course.
There are packages like https://pub.dartlang.org/packages/pub_client, https://pub.dartlang.org/packages/bwu_pub_client which provide a Dart API to access pub.dartlang.org.
There is no documentation AFAIK, but pub.dartlang.org source is open
(https://github.com/dart-lang/pub-dartlang-dart and https://github.com/dart-lang/pub_server)

Thanks for the links! :+1:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sigurdm picture sigurdm  路  6Comments

jonasfj picture jonasfj  路  4Comments

jimsimon picture jimsimon  路  5Comments

DartBot picture DartBot  路  4Comments

AhmedAlaa96 picture AhmedAlaa96  路  6Comments