Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
beyond-the-bell
Advanced tools
This library allows read access to all of the Organizations, Locations, Services, and Categories collected and maintanied by Beyond the Bell.
npm install --save beyond-the-bell
var BtB = require("beyond-the-bell");
// List all Organizations
BtB.Organizations.all().then(function(orgs) {
orgs.forEach(function(org) {
console.log(org.get("Name"));
})
})
// List all Locations
BtB.Locations.all().then(function(locations) {
locations.forEach(function(location) {
console.log(location.get("Name"), location.get("Address"));
})
})
// Search for a location
BtB.Locations.search("Library").then(function(results) {
results.forEach(function(result) {
console.log(result.location.get("Name"));
console.log(result.relevance);
})
})
Name
Mission Statement
Description
Address
Phone Number
Website
Photo
- An array of all photos provided by the OrganizationLocations
- An array of ids pointing to valid Location objectsLogo
- An array of provided logosOrganization nicknames
- Other names the organization goes byCategories
get(id)
- returns a promise which resolves to the organization with the provided string id, or null if there is no organization with that id.all()
- returns a promise which resolves to an array of all of the organizations.search(query)
- returns a promise which resolves to an array of results of the form {organization: OrganizationModel, relevance: float}
where relevance
is a decimal between 0
and 1
with 1
being the most relevant possible.refresh()
- forces a reload of all of the organizations, since the library caches the list aggressively.Name
Organization
- An array of the organizations this location is associated with (realistically should be a single item)Address
Phone Number
Primary Contact Name
Primary Contact Email Address
Operating Hours
Service 1 Name
Service 1 Description
Service 1 Fee
Service 1 Registration
- An array of strings representing the types of registration. Either "Drop in"
or "Advance registration required"
Service 1 Grade Levels Served
- An array of strings showing the different age groups served.Service 1 Categories
Service 2 Name
Service 2 Description
Service 2 Fee
Service 2 Registration
Service 2 Grade Levels Served
Service 2 Categories
Service 3 Name
Service 3 Description
Service 3 Fee
Service 3 Registration
Service 3 Grade Levels Served
Service 3 Categories
Other Services
Latitude
Longitude
get(id)
- returns a promise which resolves to the location with the provided string id, or null if there is no location with that id.all()
- returns a promise which resolves to an array of all of the locations.search(query)
- returns a promise which resolves to an array of results of the form {location: LocationModel, relevance: float}
where relevance
is a decimal between 0
and 1
with 1
being the most relevant possible.refresh()
- forces a reload of all of the locations, since the library caches the list aggressively.Name
Display Name
all()
- returns a promise which resolves to an array of all of the categories.FAQs
Access data from the Beyond the Bell dataset
The npm package beyond-the-bell receives a total of 1 weekly downloads. As such, beyond-the-bell popularity was classified as not popular.
We found that beyond-the-bell demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.