Skip to content

Commit

Permalink
Build info (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvain-morin authored Jul 3, 2024
1 parent e4e410f commit 5b4187d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
9 changes: 9 additions & 0 deletions lib/endpoints/build_info.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const iNaturalistAPI = require( "../inaturalist_api" );

const buildInfo = class buildInfo {
static get( params, options ) {
return iNaturalistAPI.get( "build_info", params, { ...options, useAuth: true } );
}
};

module.exports = buildInfo;
1 change: 1 addition & 0 deletions lib/inaturalistjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module.exports = {
annotations: require( "./endpoints/annotations" ),
announcements: require( "./endpoints/announcements" ),
authorized_applications: require( "./endpoints/authorized_applications" ),
build_info: require( "./endpoints/build_info" ),
comments: require( "./endpoints/comments" ),
computervision: require( "./endpoints/computervision" ),
controlled_terms: require( "./endpoints/controlled_terms" ),
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "inaturalistjs",
"version": "2.12.0",
"version": "2.13.0",
"description": "inaturalistjs",
"author": "iNaturalist",
"license": "MIT",
Expand Down

0 comments on commit 5b4187d

Please sign in to comment.