reputation-dot-com-sdk
v1.0.1
Published
A Node.js client for the Reputation Dot Com API
Downloads
3
Maintainers
Readme
Usage
Standard Usage
The following implementation applies for:
- Authorize
- Categories
- Credentials
- FAQs
- ListingAudits
- Metrics
- Reports
- Requests
- Reviews
- Summary
- Surveys
- Surveys2Results
- Surveys3Results
- Tenants
- Tickets
- Users
var RDC = require('reputation-dot-com-sdk');
var rdc = new RDC({
ApiKey: 'api-key',
TenantId: 12345
});
Methods
Authorize
authorize.authorize(user)
Categories
categories.list(query)
Credentials
credentials.list(query)
credentials.save(credential)
credentials.single(credentialId)
credentials.oauthStatus(query)
credentials.passwordStatus(query)
FAQs
faqs.list(query)
faqs.single(faqId)
ListingAudits
listingAudits.list(query)
Locations
locations.list(query)
locations.save(location, query)
locations.getSearch(query)
locations.postSearch(locationSearch)
locations.searchFaceted(query)
locations.single(locationId)
locations.delete(locationId, query)
locations.optOutOfAudit(locationId, query)
locations.optInToAudit(locationId, query)
locations.addPage(locationId, page)
locations.attributeDefinitions(query)
locations.duplicateLocations(query)
Metrics
metrics.pageMetrics(query)
metrics.postMetrics(query)
metrics.aggregatePageMetrics(query)
metrics.aggregatePostMetrics(query)
Reports
reports.run(reportId, report)
Requests
requests.metrics(query)
requests.requestUrls(query)
requests.sendEmail(request)
requests.sendEmail(request)
requests.unsubscribeEmail(request)
requests.unsubscribePhone(request)
requests.unsubscribes(query)
Reviews
reviews.list(query)
reviews.responses(reviewId)
reviews.respond(reviewId, response)
Summary
summary.list(query)
Surveys
surveys.list(query)
surveys.save(surveyResult)
surveys.single(surveyId, query)
Surveys2Results
surveys2Results.getResult(query)
surveys2Results.save(surveyResult)
surveys2Results.createUrlFromEncrypted(body, query)
Surveys3Results
surveys3Results.single(surveyId, query)
surveys3Results.save(survey)
Tenants
tenants.list(query)
tenants.save(tenant)
tenants.single(tenantId)
tenants.pause(tenantId)
tenants.unpause(tenantId)
Tickets
tickets.list(query)
tickets.save(ticket)
tickets.queues()
tickets.stages()
tickets.ticketDefinitions()
Users
users.list(query)
users.save(user)
users.single(userId)