I am new to PHP and REST api. I want to use OpenEMR API in android application but I don't know where to start. I would be really obliged if anyone can provide me the steps and if possible an example of using this API. I have successfully installed the web based OpenEMR from
http://www.open-emr.org/wiki/index.php/OpenEMR_Downloads
Openemr Rest api Source:
https://github.com/oemr501c3/openemr-api
Please reply as soon as possible because it's the first step to complete my project.
Related
I am following this tutorial.
https://www.sitepoint.com/integrating-stripe-into-your-android-app/
But data are not displayed in Listview.I have confusion with what to put in the charg.php file and require 'vendor/autoload.php'
Please help me.
That tutorial appears to be using a really old version of Stripe's Android SDK; you'll probably want to follow Stripe's tutorial and use the newest SDK version available.
Stripe's Android tutorial works alongside the iOS server-side example here: https://github.com/stripe/stripe-android/tree/master/example
The example is for iOS, but the iOS and Android SDKs both have the same server-side requirements. It's also in Ruby, but you should be able to extract from that the necessary steps - and 'routes'/scripts needed - to move forward with this.
I'm having a bit of trouble figuring out how to properly proceed making calls using the Intuit QuickBooks Online API v3. I've looked at the API Explorer, and from my understanding, I can send and receive JSON.
They also provide information about the base URL, the entity, etc: https://developer.intuit.com/docs/api/accounting/Customer
So I'm wondering, am I supposed to be using the QuickBooks SDK that they mention to download? https://developer.intuit.com/docs/0100_accounting
Or would I be able to utilize their API using something like cURL? I don't want to reinvent the wheel of course, but with all the information they provide and no reference to the SDK itself, that's where I started to get a little confused. They basically tell you how to make the calls, but don't reference the SDK in those documents.
Just to provide some extra information, I'm using PHP 5.5 and Laravel.
So I'm wondering, am I supposed to be using the QuickBooks SDK that they mention to download?
If you want to, sure.
Or would I be able to utilize their API using something like cURL?
Again, if you want to, sure. Just be aware that if you use cURL, you'll have to do some OAuth signing of your requests (see the OAuth spec) or find an OAuth lib too.
Here's another open-source alternative if you need something with more examples (disclaimer: I'm the author):
https://github.com/consolibyte/quickbooks-php
Examples:
https://github.com/consolibyte/quickbooks-php/tree/master/docs/partner_platform/example_app_ipp_v3
i just need to get some information about a solution i'm trying to implement.I have to write a push service that can be used to push messages to android and ios apps the project is an ionic app.
So far i have come across Google Cloud Messaging ,Firebase ,Pusher ,push.ionic.io but all of them are third party.
Is there any documentation that explain how to make such a push service using php.I have previously worked using rachet for websocket.As i understand this type of service must be based on websocket.
There are various resources available out there regarding implementation of Push Notification services in php. Let me point you to couple of those.
Simple Push service in php
Have a look at this.
So if your concern is implememnting Push noification on client side using ionic. You can use ngCordova's cordovaPush. You can find it here.
cordovaPush really works great both for android and iOS.
i found many resource from google, but at the end i am not able to decide in what manner i can create and use PHP REST API that uses OAuth2 for authentication where the request is only initiated and consume by Android application..
as i am really new to OAuth and Android, i am not getting how to create an Android app that uses OAuth2 authentication for authorization with PHP Rest API..
i just want to know from where to start and what may be the possible first step for doing that.
i don't want the full code , but at least the steps involved to get the things working... please help..
i have enough confidence that i can create Android app and PHP Rest api and will try my best to follow and learn the steps required...
i know developing android app and all about php too.. but new to OAuth 2.0
I was going through the same problem before and make this a library I to handel OAuth2 in Android
https://github.com/AliAbozaid/OAuth2Library
I want to start developing a tool that runs daily via cron for getting daily analytical data from one channel, or video, etc.. through the "Youtube Analytics API". And not what is the best way to approach it.
I have read the documentation of Google and and I have several questions:
I created the project in the console (https://code.google.com/apis/console/) but I doubt what kind of application I have to choose when I create a Client ID (Web Application, Service Account or Installed aplplication).
What PHP library use?
It's a very new API and not much information.
In the Google GData site there is a warning about that "Most newer Google APIs Google Data APIs are not Google Data APIs." and in the google-api-php-client, no examples of this API.
What is the best method for authentication in a cron?
As you can see I am very confuse, can someone help me, please?
Thank you.
1) It will be an installed application unless you will run it in a web server.
2) Use the official library, add the ytanalytics php library. Samples: https://github.com/youtube/yt-samples-php
3) You can do so by getting a refresh token from OAuth2 Playground and setting it in your youtube object.
Here it explains a little more.
And a step by step video.