/
Javascript SDK (Hosted)
Javascript SDK (Hosted)
The REST API serves up the SeedRateCalculator code used in its own controller functions to perform the required calculations in the form of a hosted Javascript File. This can be downloaded and used in a NodeJS program, or imported into a web application through the <scrip>
tag.
Download / Import URI:
/v1/scripts/js/sdk.js
Example Import:
<!DOCTYPE html>
<html>
<head>
<title>Demo</title>
<!-- Here we load the sdk from seedcal api -->
<script src="http://localhost:3002/v1/scripts/js/sdk.js"></script>
</head>
<body>
<h1>Seeding Rate Calculator JS SDK</h1>
<p>loads js sdk script from seed calc api, and performs example MCCC calculations.</p>
<!-- Script tag for script.js -->
<script src="script.js"></script>
</body>
</html>
, multiple selections available,
Related content
Seeding Rate Calculator Release Notes
Seeding Rate Calculator Release Notes
More like this
Geospatial Satellite Biomass Calculator User Flow
Geospatial Satellite Biomass Calculator User Flow
Read with this
Calculation
Calculation
More like this
Pages
Read with this
7. Review Mix
7. Review Mix
More like this
Introduction
Introduction
Read with this