Skip to content

RealSavvy/realsavvy-gem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI

realsavvy-gem

RealSavvy Connection Gem

API Docs

https://docs.realsavvy.com/reference

How To Use

Install Package

gem install real_savvy

Creating A Client

require 'real_savvy'

client = RealSavvy::Client.new(token: 'jwt.access.token')

Querying for properties

client.properties.search(filter: {price: {max: 500000}}, page: {size: 8}).results

Show a property

client.properties.show(id: complex_id).result

Get share token for a user

token = RealSavvy::JWT::Token.new('jwt.access.tokenForUser')

token.to_share_token.short_token

Get Agents For Given Site

client.agents.index(page: {size: 8}).results

Show Agent

client.agents.show(id: 48).result