In my previous blog post I showed how to invoke an external REST API from a cloud function. The API that I used returns a random (Chuck Norris 💪) joke. In this blog post I want to show you to how pass a parameter to the cloud function. We can pass a joke number to the API and get that particular joke back 🤣.
The San Francisco Developer Advocacy team hosted another great Lunch & Learn event. The topic was Kubernetes. The session covered what is Kubernetes, how it works and what are its benefits? The session was lead by Andy Shi and Anthony Amase. Here is what the session covered and then jump to the session video recording.
Problems that need to be solved in the micro-services world and how does K8s solve them?
Benefits K8s brings to DevOps
Concepts and terminologies in K8s
A demo showcasing the features and benefits of K8s on the IBM Cloud platform
Geolocation is one of the most widely used APIs in mobile apps today. From weather to Uber and Lyft, the device location is crucial information and many APIs use it to determine what services and products are available in a given location. When building a mobile app in Appery.io, using the Geolocation API is simple. Apache Cordova library is built-in in every new Appery.io app. Invoking Geolocation will return the latitude, longitude (and other) information which can then be passed to any REST API. The following two short videos show how to use and invoke Geolocation in an Ionic and jQuery Mobile apps:
PayPal is obviously one of the most popular services and APIs to use when you want to support payments in you mobile app. This tutorial will show you how to create a single payment using Appery.io Server Code. You can the use it as a starting point for all other APIs made available by PayPal.
If you read the PayPal documentation, the first step is to get a token so you can invoke PayPal APIs. Before you can get the token, you need to create an app in PayPal:
Every app has a Client ID and Secret values that you need to use to get a token.
The Server Code script below sends a request to PayPal to get a token:
One important thing you need to do is use a valid credit card number from your test account. Without a valid credit card number, the request will not work. To find your credit card number go to Sandbox > Accounts, expand your account and click Profile. Select the Funding tab and use the credit card and expiration data from there for the test payment.
Once you have a working Server Code script that creates a payment in PayPal, you can use the script in your mobile app. A Server Code script is automatically exposed via a REST API which you can call from your app. We have many videos on our YouTube channel that show how to use Server Code and other Appery.io backend services.
We are happy to announce that we have worked with MetaCert to provide a security API to enable our developers to protect their apps from malicious and unwanted links.
Most mobile malware is downloaded when end users click on malicious links inside legitimate apps. The MetaCert Security API adds a thin, but very powerful, layer of security to your app.
The API allows you to check the reputation of web links in real time, providing an invisibly secure experience. It can be used to block phishing sites from loading or navigating to. You can also stop end-users from sharing links that are NSFW.
To make it even simpler to use the MetaCert Security API, we have published a MetaCert plug-in. Appery.io developers can quickly add the plug-in to any new or existing app and check for the reputation of any web links in the app.
Mobile app development environment provider Exadel’s Appery.io offers a cloud-based rapid development environment with integrated back-end services and a catalog of API plug-ins that simplify integration with cloud services and enterprise systems.
As part of its solution, Appery.io also features a no-code, RAD environment.
“Our cloud-based mobile platform requires no coding, but it’s unique in that it also supports the needs of professional programmers,” Francisco Kattan, vice president of marketing at Exadel, told eWEEK. “It’s not like codeless tools are replacing coding tools; it’s about empowering a much broader base of developers to innovate. The number of Java, C++ and C# programmers is limited and we can’t keep up with demand.”
Kattan said Exadel expects that 25 percent of all apps that will be developed for the enterprise by 2015 will be built using codeless tools. He also cited a Gartner report that predicts that by 2018 more than half of all apps will be built with codeless tools.
“We have a graphical development environment, but we don’t limit you to the GUI,” he said.
Appery.io recently announced it has reached more than 150,000 developers that are using the platform.
“We researched all the leading mobile app platforms and, chose Appery.io for its intuitive visual development environment, integrated backend services and its catalog of API plug-ins,” said JC Lin, CEO of Zagama, an app development company in Asia that has partnered with Appery.io. “Appery.io’s intuitive visual environment assists customers in overcoming the barriers affiliated with cross-platforms so developers can work on a project remotely and simultaneously.”
Exadel’s Kattan says Appery.io offers a complete mobile app development platform—not just tools but complete backend services in the form of an MBaaS.
“MBaaS environments are essentially cloud-based collections of fine-grained services intended to support mobile developers,” Hilwa told eWEEK. “Mobile developers tend to be front-end focused and love the handholding they get for setting up back-ends which is usually challenging for their skill-sets. The majority of MBaaS companies were born three to four years ago to target consumer environments, but some have recently started targeting enterprises.”
Using APIs and cloud tools for rapid mobile app development
Gone are the days where you can afford to take months to build an enterprise mobile app. In today’s fast market, you need to be able to prototype the app in a few days, release the first version in a few weeks, get feedback, fix bugs, release the second version. Repeat. In this session you will learn how to use APIs and cloud platform for rapid mobile development. We will use the Appery.io mobile platform to build a real app. This is a live coding session where you will be able to test the app on your phone, and we will package the app for iOS/Android.