{"id":16087132,"url":"https://github.com/newapplesho/salesforce-smalltalk","last_synced_at":"2025-04-05T15:10:57.644Z","repository":{"id":84203388,"uuid":"105025068","full_name":"newapplesho/salesforce-smalltalk","owner":"newapplesho","description":"Salesforce API Library for Pharo Smalltalk","archived":false,"fork":false,"pushed_at":"2017-11-15T05:08:47.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-11T11:51:28.890Z","etag":null,"topics":["pharo","salesforce","smalltalk"],"latest_commit_sha":null,"homepage":"","language":"Smalltalk","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/newapplesho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-27T13:58:12.000Z","updated_at":"2018-01-10T22:24:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"a11cafbe-4697-4127-9d0c-bc008da6d6da","html_url":"https://github.com/newapplesho/salesforce-smalltalk","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newapplesho%2Fsalesforce-smalltalk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newapplesho%2Fsalesforce-smalltalk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newapplesho%2Fsalesforce-smalltalk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newapplesho%2Fsalesforce-smalltalk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/newapplesho","download_url":"https://codeload.github.com/newapplesho/salesforce-smalltalk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247353749,"owners_count":20925329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pharo","salesforce","smalltalk"],"created_at":"2024-10-09T13:28:03.687Z","updated_at":"2025-04-05T15:10:57.626Z","avatar_url":"https://github.com/newapplesho.png","language":"Smalltalk","funding_links":[],"categories":[],"sub_categories":[],"readme":"# salesforce-smalltalk [![Build Status](https://travis-ci.org/newapplesho/salesforce-smalltalk.svg?branch=master)](https://travis-ci.org/newapplesho/salesforce-smalltalk)\nSalesforce API Library for Pharo Smalltalk\n\n## Supported Smalltalk Versions\n\nPharo Smalltalk 5.0, 6.0\n\n## Installation\n\n```smalltalk\nMetacello new\n    baseline: 'Salesforce';\n    repository: 'github://newapplesho/salesforce-smalltalk/pharo-repository';\n    load.\n```\n\n## Setup\n\n```smalltalk\nSFSettings initialize.\rSFSettings default.\rSFSettings default username: '\u003cYour mailaddress\u003e'.\n\"You must append the user’s security token to their password A security token is an automatically-generated key from Salesforce.\"\rSFSettings default password: '\u003cYour password\u003e\u003cSecurity token\u003e'.\n\"Sandbox\"\rSFSettings default isSandbox: true.\n```\n\n\n## Authentication\n\n```smalltalk\nSFClient new login.\n```\n\n## Simple Query\n\n```smalltalk\nclient := SFClient new.\rclient query: 'SELECT name FROM Account'.\n```\n\n## Account and Contact Information\n\n```smalltalk\naccessor := SFAccessor new.\n\raccessor allAccounts: { 'Id'. 'Name' }.\raccessor allContacts: { 'Id'. 'Email' }.\r\raccessor allContacts: { 'Id'. 'Email' }  withAccount: { 'Id'. 'Name' }.\raccessor allAccounts: { 'Id'. 'Name'. } withContacts: { 'Id'. 'Email' }.\n```\n\n## CRUD\n\u003c!-- \"salesforce-smalltalk\" supports basic \"CRUD\" operation for records in Salesforce. --\u003e\n\n\n### Delete\n\n```smalltalk\naccessor := SFAccessor new.\naccessor deleteObject: '\u003cSalesforce Object Id\u003e' model: SFLead. \n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewapplesho%2Fsalesforce-smalltalk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnewapplesho%2Fsalesforce-smalltalk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewapplesho%2Fsalesforce-smalltalk/lists"}