unitaryfund / metriq-client

Fork of papers-with-code client
https://metriq.info
Apache License 2.0
3 stars 9 forks source link

Refactor: Get submission count for platform example API key update #94

Closed vprusso closed 1 year ago

vprusso commented 1 year ago

The example for platform submission count (here) needs to have an updated API key instead of an actual API key.

IOW, this line:

client = MetriqClient(token="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6OTksInJvbGUiOiJjbGllbnQiLCJpYXQiOjE2ODY2NjQxODd9.VWT8b4peYwebm9-Ul4-6xkMMajATIiqUXO_dE4lxigk")

needs to change to

client = MetriqClient(token=os.environ["METRIQ_CLIENT_API_KEY"])
vprusso commented 1 year ago

Closed from https://github.com/unitaryfund/metriq-client/issues/94