Get my eBay listings with PHP using eBay API - php

I've been reading through the eBay Developer Network and for the life of me can't figure out how to do the simple task of retrieving all listings from an eBay User (me) via their API.
Can anyone help me out on achieving this.
Thanks a lot.
Edit:
I have tried using HTTP method of:
http://open.api.ebay.com/Shopping?callname=GetUser&appid=APPID&siteid=3&UserId=USERID
But this hasn't given me any luck.
Mainly with the PHP Methods, I've tried reading up on EBATNS but with no luck could I start coding to produce something small.
I have also looked at Use of eBay API in PHP to retrieve My eBay information and that didn't really help me all that much either.

If anyone needs the answer to this one I have figured it out after a day of research.
http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsAdvanced&SECURITY-APPNAME=PRODUCTION-APPID&RESPONSE-DATA-FORMAT=XML&REST-PAYLOAD&itemFilter(0).name=Seller&itemFilter(0).value(0)=USERNAME&paginationInput.entriesPerPage=10&keywords=

Related

Google analytics, php api, request time

At the moment i have a full implementation of google analytics in my web client.
Also i managed to track api calls in my backend php api.
But i was searching a lot about how to track more information than the api call.
I mean, i would like to know if there is any way to get information beyond the number of request as i can do with the js api.
Im specially interested in how to track the time the api takes to give the response as i can do for example with the time that the web client takes to get a response.
I tried searching in the ga documentation but i didnt find anything.
Maybe its something that is not supported, but if there is any way to achieve that i would like to know.
Please give some tips.
Thank you!

pull records from cpanel's latest visitor php

Have you ever tried to code to get all the visitors from the cpane's latest visitor?
Is this possible?
A little poking around the CPanel API site showed that what your looking for is the listlastvisitors function in the ApiStats module (API2). From my memories of the CPanel API, it takes a lot of poking around through an amazing multitude of pages to get the API code to work in PHP, but if your up for a challenge, Here's the module, and information about calling the API functions is here. Poke around the XML API, and check out API2. Good luck, you will need it!

Using the Twitter API

I am trying to build a small useful application with twitter. I will publish it as an open source project once I am done. I am trying to decide what is the best way to do the following:
I want to get the latest 200 tweets from Washington for example and see the most important thing these 200 tweets share. For example, if 20 tweets have tweeted the same link, this is probably an important story in Washington. Or if 50 tweets mentioned (This specific subject) it means this is important and I could get information about it.
What is the best way to do that? and is there a better way to get this information without getting the latest 200 tweets (except trends).
If you feel like this is not clear enough please provide some questions and I will clear this up
Thank you all for the help.
I don't think there is going to be any "custom" trending available, so you are going to have to parse out the links from the search results yourself.
You would use the search api function:
http://search.twitter.com/search.atom?geocode=40.757929%2C-73.985506%2C25km
After that, it should be pretty trivial to maintain a list of trends and links over the past 24 hours.
I would suggest you use a php twitter library which does already the things you wrote.
Please have a look at this question to find a library which fits your needs https://stackoverflow.com/questions/422879/best-twitter-php-library

How to automatically retrieve current adword spend from google

Does anyone know a guide or tutorial into how to access the Google adwords reports? I'm trying to pull in to my application the advertising spend per day (current to the time of checking or last Google update). I can't quite find the API docs or methods for getting the spend. Does anyone know of any good tutorials? Or can you point me in the right direction? Ideally dev should be in php :)
UPDATE
Using the API is er....at a cost. I'm ideally looking for a way to not have to pay for it! So if there is no "backend" way of doing it for free, then scraping the front end is a possibility I guess...
UPDATE 2
Ignore the above, the cost is so minimal, an API call is enough. But I still can't find the API method to get current or previous spend....
Let us google that for you...
Have you looked at http://google-apility.sourceforge.net?
The query you want I think is this one (includes cost data).

Is there any simple way of interfacing with Twitter/OAuth using PHP?

I am losing my mind here.
Im looking at a beginners OAuth php package that has a 700 line file. Im used to using 10-12 lines of CURL or just a couple lines with simpleXML to get the same data. Is there a very meat and potatoes way to convey the concepts of interfacing with twitter via oauth without totally alienating someone?
Im used to learning by downloading an example, and tooling around with it. The only examples i can find are so confusing that id have to take a course to begin to understand the DEMO.
Specific Question:
I have a users access token. The api address is
http://twitter.com/statuses/friends_timeline.xml
How do i take the token, and mash it into the address and make that give me the data that i want? Im willing to learn, but i cant learn if i dont understand what is going on to begin with. I get the basics, you send a request, user approves, you get a token, i get that. I dont get how you make the requests with your token as authorization in place of the plain text user and pass.
Have you considered looking at one of the Twitter API PHP libraries listed on the Twitter API wiki?
I felt exactly the same, but then I found EpiTwitter which makes the whole process much, much easier. Checkout the authors blog for specific examples that actually work :)
I haven't tried this library, but someone posted a link to simple OAuth library few day ago here.

Categories