Python

Get data straight from your Salesforce reports via python using the Analytics API.

The Reports and Dashboards REST API gives you programmatic access to your report and dashboard data as defined in the report builder and dashboard builder. The API lets you integrate the data into any web or mobile application, inside or outside the Salesforce platform. You can use this data in various ways like below: • …

Get data straight from your Salesforce reports via python using the Analytics API. Read More »

Accessing Salesforce Data with python via Connected App (Oauth 2.0)

      Before connecting force.com token to python, first you first need to create a Connected App in Saleforce. A connected app is an application that integrates with salesforce.com using APIs and uses either SAML and OAuth protocols to authenticate, provide Single Sign-On, and provide tokens for use with Salesforce APIs. In addition to standard …

Accessing Salesforce Data with python via Connected App (Oauth 2.0) Read More »

How to access asynchronous Salesforce.com Bulk API from Python client library

Salesforce Bulk Python client library for accessing the asynchronous Salesforce.com Bulk API. Installation pip install salesforce-bulk Authentication To access the Bulk API you need to authenticate a user into Salesforce. The easiest way to do this is just to supply username, password and security_token. This library will use the simple-salesforce package to handle password based authentication. from salesforce_bulk import SalesforceBulk bulk …

How to access asynchronous Salesforce.com Bulk API from Python client library Read More »

How to build a web application using Sync Heroku app (Heroku PostGres+Heroku Connect) with Salesforce using Python Flask

Introduction This workshop shows how to Create and Run a Python app with psycopg2 which uses PostgreSQL based Heroku Connect Figure 1 show how the HerokuConnect Add-On interacts with Heroku Postgres and force.com behind the scenes. Make sure you have Python installed. Also, install the Heroku Toolbelt We will be using a basic Flask app available at flaskpy-sfdc This app has four …

How to build a web application using Sync Heroku app (Heroku PostGres+Heroku Connect) with Salesforce using Python Flask Read More »

Interactive Salesforce Graphing in Python using plotly

In this post we’ll explore how you can implement a interactive salesforce graphing in python using plotly. We can\’t display a chart directly in python,however we can achieve with the help of  pandas and plotly libraries. To achieve this,we need to register on plotly because chart is going to store and display in plotly website …

Interactive Salesforce Graphing in Python using plotly Read More »

Website monitoring with python and Salesforce

  In this post we’ll explore how you can implement a very simple website alive check using python(urllib2) and storing your status/results in Salesforce(simple_salesforce). There are many applications that can provide this service but I fancied a bit of fun. And love the idea of a dashboard in Salesforce to display another metric “100% uptime …

Website monitoring with python and Salesforce Read More »

Select Language »