Tag Archives: rest

Python and the Force.com REST API: Simple simple-salesforce example

While losing code is a bummer, I always say that when life throws you lost code you hand life back new refactored code. Many moons ago I posted about an Insanely Simple Python Script that used the Salesforce REST API’s. It was later updated and eventually evolved into a longer script that I used for demonstrations. Unfortunately I recently lost the code to said longer script, but I still wanted a similar demo. And so I recently discovered simple-salesforce, a Python REST API client for Salesforce which uses more moderns libs like requests to get a similar job done.

Using the Salesforce Analytics API on a Visualforce Page

The new Analytics REST API, delivered in Winter ’14, gives developers programmatic access to report data defined in the Salesforce report builder. Discover how you can call the Analytics API from JavaScript.

5 Ways to Make Your Mobile Apps Faster with the Chatter REST API

The Salesforce.com mobile apps are powered by the same public APIs that developers use. Find out about some of the innovative features we’ve added to the Chatter REST API to help us—and you—develop faster mobile apps.

HTML5, AngularJS, Backbone Mobile Service Packs

With the announcement of Salesforce Platform Mobile Services comes a new set of developer tools called Mobile Packs. Mobile Packs built on popular Javascript libraries like AngularJS, Backbone,js and jQuery Mobile to make developing robust business apps for mobile devices using HTML5 while providing idiomatic access to the Salesforce Platform.

Using PHP for Canvas Applications

Canvas is a great and simple method of including your third party integrations within the Salesforce UI, and PHP is still one of the most commonly used web application languages on the planet – so how do you use these two great technologies together? Using Canvas with the language of your choice is very similar to integrating with our API’s – the first real obstacle is authenticating the user. After that you can access our API’s, and Canvas gives a speedy path to doing that with just JavaScript.

Testing HTTP Callouts with Static Data in Winter ’13

One of the most eagerly awaited Winter ’13 features, at least for developers, has been the ability to test Apex callouts. In this blog entry, I look at how you can mock up callout responses using data in static resources.

NOT Calling the REST API from JavaScript in Visualforce Pages!

The RemoteTK Visualforce Custom Component (comprising RemoteTK.component and RemoteTKController.cls) provides an abstraction very similar to the Force.com REST API, implemented via @RemoteAction methods in the component’s controller. RemoteTK offers similar functionality to forcetk.js, without consuming API calls.

Developer Content Contest #5 — Apex REST

Apex REST, recently enhanced in Spring ’12, makes it easy for you to create custom RESTful Web services using Apex. In this challenge, we’d like you to show off some of the cool custom APIs that you’ve developed with Apex REST and teach the community how to harness the full power of Apex REST. Head […]

Spring ’12 – Top 10 Developer Features

The Spring ’12 release is here, and if you’re a developer, you’re probably asking “what’s in it for me?” The answer is, plenty. Here, in no particular order, is my take on the top 10 features for developers. SOQL OFFSET (Developer Preview) – This is a new clause on the SOQL SELECT statement that lets […]

Insanely Simple Python REST Script

One of the main reasons to adopt REST is the simplicity of the API, compared to the juggling of formats required to send and receive SOAP messages.  We’ve had a long history of creating toolkits and libraries to ease the burden of using SOAP as a transport – so much so that when I first […]