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.
rr-api-explorer
Advanced tools
Angular project showcasing a public api explorer for the Retsrabbit API
This is an angular module which acts as a drop in directive for an API explorer for Retsrabbit
##Installation You can either clone/download this repo or install the package via bower.
$ bower install rr-api-explorer
##Usage Make sure to import the module
app.module('app', ['rr.api.v2.explorer']);
or
app.module('app', [require('rr.api.v2.explorer')];
This directive can either be used as an element or an attribute
<api-explorer></api-explorer>
<div api-explorer></div>
You may also pass in a search parameter which the directive will use to bind values to the search parameters. The parameter must match the following format where the key values follow the RESO spec. See the Rets Rabbit docs for help.
The directive will watch for changes on the query variable and update the explorer inputs if it detects a change.
$scope.query = {
select: 'ListingId, ListPrice, ListingContractDate',
filter: [
{value: 'year(ListingContractDate) eq 2016', join: 'and'},
{value: 'month(ListingContractDate) eq 6', join: ''}
],
orderby: [{value: 'ListPrice', direction: 'asc'}],
top: '10',
skip: '11'
};
<api-explorer search="query"></api-explorer>
When a search is being performed, the directive will display a loading image/gif where the results are if you supply the loader parameter with a valid path.
<api-explorer search="query" loader="'public/img/loader.gif'"></api-explorer>
###Customization Currently there are no customization options. The directive is built with Bootstrap classes, so it will work best when that framework is present. In the future we hope to provide
FAQs
Angular project showcasing a public api explorer for the Retsrabbit API
We found that rr-api-explorer 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.