cortex-client

Build Status Gem Version

Ruby client library for cortex's API.

0.1 Changes the constructor

Please note that 0.1.0 and onward now require a hash be passed. You can access the previous functionality with the access_token key:

require 'cortex-client'

client = Cortex::Client.new(access_token: access_token)

client.posts.query().each do |post|
  puts post
end

Alternatively, cortex-client will handle

Supported Endpoints

  • Users - me, get ,save
  • Posts - query, get, save, delete

TODO

  • Handle pagination
  • Support for search queries
  • /media