Download the PHP package talentcircles/php_sdk without Composer
On this page you can find all versions of the php package talentcircles/php_sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download talentcircles/php_sdk
More information about talentcircles/php_sdk
Files in talentcircles/php_sdk
Package php_sdk
Short Description A developer library for accessing TalentCircles network APIs
License MIT
Informations about the package php_sdk
TalentCircles PHP Developer Kit
This library allows developers to integrate a TalentCircles network into their own application through HTTP calls to that network's REST API endpoints.
Setup
Setup is simple and easy with composer. See instructions here if you do not have composer installed. Once you have composer, use the following command from your project root:
Usage
First initialize the SDK object:
Then call any of the functions below to access data on the TalentCircles network you are accessing. For example,
to get a Job object, call getJob()
with a job id:
Functions
Job Functions
getJob(INT $job_id) - Get a single Job object for the job posting identified by $job_id
getJobs(ARR $job_ids) - Get multiple Job objects for the job postings identified by an array of $job_ids
getJobMatchingCandidates(INT $job_id) - Get an array of matching user objects of possible candidates for the job posting identified by $job_id
getSimilarJobs(INT $job_id) - Get an array of job objects with job postings similar to the job posting identified by $job_id
createJob(STR $job_title, STR $job_description, ARR $jobDetails) - Post a new Job ad, returns the new Job object
searchJobs(ARR $search_params, INT $page, INT $results_per_page) - Get an array of Job objects from the database, using SPHINX search
updateJob(INT $job_id, ARR $update_data) - Update an existing job posting identified by $job_id, returns an updated Job object
User Functions
getUser(INT $user_id) - Get a single User object for the user profile identified by $user_id
getUsers(ARR $user_ids) - Get an array of User objects for the profiles identified by an array of $user_ids
getUserMatchingJobs(INT $user_id) - Get an array of Job objects that may be suitable for the user profile identified by $user_id
getUserStories(INT $user_id, INT $offset, INT $limit) - Get an array of Story objects posted by the user profile identified by $user_id
createUser(ARR $user_data) - Create a new User profile, returns the new User object
searchUsers(ARR $search_params, INT $page, INT $results_per_page) - Get an array of User objects from the database, using SPHINX search
updateUser(INT $user_id, ARR $update_data) - Update an existing User profile identified by $user_id, returns an updated User object
Circle Functions
getCircle(INT $circle_id) - Get a single Circle object for the circle identified by $circle_id
getCircles(ARR $circle_ids) - Get an array of Circle objects for circles identified by an array of $circle_ids
getCircleJobs(INT $circle_id, INT $offset, INT $limit) - Get an array of Job objects posted to the circle identified by $circle_id
getCircleMembers(INT $circle_id) - Get an array of User objects for members of the circle identified by $circle_id
createCircle(ARR $circle_data) - Create a new Circle, returns a Circle object
postCircleStory(INT $circle_id, ARR $story_data) - Post a new Story to the Circle identified by $circle_id, returns a Circle object
updateCircle(INT $circle_id, ARR $update_data) - Update an existing Circle identified by $circle_id, returns a updated Circle object
Story Functions
getStory(INT $story_id) - Get a single Story object for the story post identified by $story_id
getStories(ARR $story_ids) - Get multiple Story objects for story posts identified by an array of $story_ids
postStory(ARR $story_data) - Post a new story to a Circle, returns the Story object
This function can also be used to post a new Story to multiple Circles by passing an array of $circle_ids into the 'circle_id' element of the $story_data array
updateStory(INT $story_id, ARR $story_data) - Update an existing Story post identified by $story_id, returns the updated Story object
updateStories(ARR $story_ids, ARR $story_data) - Update a set of existing Stories identified by an array of $story_ids, returns an array of the updated Story objects