Coder Social home page Coder Social logo

android-market-api-php's People

Contributors

splitfeed avatar

android-market-api-php's Issues

Froyo apps not returned

What steps will reproduce the problem?
1. com.rovio.angrybirds_lite is an app for Android 2.2 (Froyo) devices.  It is 
not returned by this api even when using 2.2 deviceID

$ar = new AppsRequest();
    $ar->setQuery('pname:com.rovio.angrybirds_lite');
    $ar->setStartIndex(0);
    $ar->setEntriesCount(1);


What is the expected output? What do you see instead?
App returned.  Instead no apps are returned


Original issue reported on code.google.com by [email protected] on 9 Oct 2010 at 3:36

Check license for protoc-gen-php

The license for protoc-gen-php must be checked to make sure it allows a copy in 
our repo

Original issue reported on code.google.com by splitfeed on 4 Sep 2010 at 7:57

exception

After retrieving 28 apps in buissnes category it shows this error....

Fatal error: Uncaught exception 'Exception' with message 'HTTP request returned 
code 400' or this error 
Fatal error: Uncaught exception 'Exception' with message 'HTTP request returned 
code 509'

any help please..........

Original issue reported on code.google.com by [email protected] on 22 Sep 2011 at 10:45

Missing documentation/example of local.php

The local.php contains username and password for GMail and should not be 
shipped with that information, but some placeholder to show developers what it 
should define is critical.

Original issue reported on code.google.com by splitfeed on 3 Sep 2010 at 8:01

Request shows results on localhost but not on web host

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 17 Feb 2011 at 2:08

Results returned throught this lib are not complete

I am building scrapper on this library, but the results returned are not 
complete. If I start with any category, I get 10 results and I change start 
offset by increments of 10 until the results are returned. But, instead of 
getting 5200 apps in ARCADE category, I get only about 900 of them.

Is there a way to make a request that will work fine with this, or maybe is 
there a bug in library that generate malformed requests?

Milan

Original issue reported on code.google.com by [email protected] on 16 Sep 2010 at 8:15

getScreenshotsCount() always returns 2, although more screenshots are available

Hi, if I get the number of screenshots by calling app_ExtendedInfo -> 
getScreenshotsCount(), it always returns 2, but e.g. for the app "X-Plane 9" 
there are 5 screenshots available in the Android Market (if I search with my 
Androidphone).
So it seems to be a bug why not 5 is returned, could you fix this please?


Thanks in advance,
regards Oli

Original issue reported on code.google.com by chinakolon on 17 Jan 2011 at 11:13

Short PHP-tags are used

A lot of the code (all?) is using short tags because I'm lazy and used to it, 
but it needs to be fixed for better compability

Original issue reported on code.google.com by splitfeed on 3 Sep 2010 at 7:58

Market login fails under some conditions

Existing examples are broken. I assume missing local.php that examples refer to 
is just GOOGLE_EMAIL and GOOGLE_PASSWD define()s. Once I created such file I 
got:

$ php test_categories.php
PHP Fatal error:  Uncaught exception 'Exception' with message 'Required fields 
are missing' in ~/android-market/proto/market.proto.php:2553
Stack trace:
#0 ~/android-market/proto/market.proto.php(3279): 
RequestContext->write(Resource id #10)
#1 ~/android-market/Market/MarketSession.php(142): Request->write(Resource id 
#10)
#2 ~/android-market/Market/MarketSession.php(129): 
MarketSession->protobufToStr(Object(Request))
#3 ~/android-market/Market/MarketSession.php(120): 
MarketSession->executeProtobuf(Object(Request))
#4 ~/android-market/examples/test_categories.php(14): 
MarketSession->execute(Object(Request_RequestGroup))
#5 {main}
  thrown in ~/android-market/proto/market.proto.php on line 2553

test_search fails the same way, so maybe my assumption on what shall be in 
local.php are wrong. Any hints?


also test_search.php uses short tag (<? instead of <?php and short tag is off 
by default)

Original issue reported on code.google.com by [email protected] on 14 Aug 2010 at 2:02

exception

After retrieving 28 apps in buissnes category it shows this error....

Fatal error: Uncaught exception 'Exception' with message 'HTTP request returned 
code 400' or this error 
Fatal error: Uncaught exception 'Exception' with message 'HTTP request returned 
code 509'

any help please..........

Original issue reported on code.google.com by [email protected] on 22 Sep 2011 at 10:45

exception

After retrieving 28 apps in buissnes category it shows this error....

Fatal error: Uncaught exception 'Exception' with message 'HTTP request returned 
code 400' or this error 
Fatal error: Uncaught exception 'Exception' with message 'HTTP request returned 
code 509'

any help please..........

Original issue reported on code.google.com by [email protected] on 22 Sep 2011 at 10:45

Exception Error

Am encountering this:

Fatal error: Uncaught exception 'Exception' with message 'read_unknown(group 
end): Unsupported wire_type' in 
/Applications/MAMP/htdocs/Android/protocolbuffers.inc.php:269
Stack trace:
#0 /Applications/MAMP/htdocs/Android/market.proto.php(387): 
Protobuf::read_field(Resource id #12, 4, 164)
#1 /Applications/MAMP/htdocs/Android/market.proto.php(357): 
AppsResponse->read(Resource id #12, 164)
#2 /Applications/MAMP/htdocs/Android/market.proto.php(3541): 
AppsResponse->__construct(Resource id #12, 164)
#3 /Applications/MAMP/htdocs/Android/market.proto.php(3511): 
Response_ResponseGroup->read(Resource id #12, 9223372036854775059)
#4 /Applications/MAMP/htdocs/Android/market.proto.php(3747): 
Response_ResponseGroup->__construct(Resource id #12, 9223372036854775059)
#5 /Applications/MAMP/htdocs/Android/MarketSession.php(135): 
Response->read(Resource id #12)
#6 /Applications/MAMP/htdocs/Android/MarketSession.php(120): 
MarketSession->executeProtobuf(Object(Request))
#7 /Applications/MAMP/htdocs/Android/test_search.php(30): MarketSession- in 
/Applications/MAMP/htdocs/Android/protocolbuffers.inc.php on line 269

Original issue reported on code.google.com by [email protected] on 4 Oct 2010 at 9:04

exception

After retrieving 28 apps in buissnes category it shows this error....

Fatal error: Uncaught exception 'Exception' with message 'HTTP request returned 
code 400' or this error 
Fatal error: Uncaught exception 'Exception' with message 'HTTP request returned 
code 509'

any help please..........

Original issue reported on code.google.com by [email protected] on 22 Sep 2011 at 10:45

getCategoriesArray() throwing the error

Fatal error: Call to a member function getCategoriesArray() on a non-object in 
C:\wamp\www\checkout android-market-api-php\examples\test_categories.php on 
line 19

Original issue reported on code.google.com by pankaj1979 on 13 Dec 2010 at 10:02

Android Market Api for PHP was limited?

Hi guys,

I'm using the Android Market API for PHP and I just noticed that many of the 
applications are no longer found either by name or by package name. 

Example: Package Name "alei.switchpro" don't found!

Anyone have a clue?

Best regards,
Fábio

Original issue reported on code.google.com by [email protected] on 16 Sep 2011 at 10:25

Anything works for me

Hi there!
I downloaded the most recent source from the svn, copied it to my server, 
configured local.php with my username/pword and renamed it.

But any example seems to work.
If I insert a
"die(print_r($response));" (in test_search)
I get:
"Response Object ( [_unknown:private] => [responsegroup_:private] => Array ( 
[0] => Response_ResponseGroup Object ( [_unknown:private] => [context_:private] 
=> ResponseContext Object ( [_unknown:private] => [result_:private] => 2 
[unknown1_:private] => [unknown2_:private] => [unknown3_:private] => 1000 ) 
[appsResponse_:private] => [commentsResponse_:private] => 
[imageResponse_:private] => [categoriesResponse_:private] => 
[subCategoriesResponse_:private] => ) ) ) 1"
So i Think that something isn't working inside :)

PD: If I don't modify anything, I get:
"Fatal error: Call to a member function getAppArray() on a non-object in 
~/test_search.php on line 26"

Original issue reported on code.google.com by [email protected] on 2 Dec 2010 at 7:43

about get the creatime of app

Hi,

yes i still do not know how to get the creattime of the App.
May you can add a small creattime /example for that.

Thanks for the work.

Original issue reported on code.google.com by [email protected] on 22 Oct 2010 at 9:30

Uncaught exception 'Exception' with message 'read_unknown(group start): Unsupported wire_type'

I played with this library, everything worked fine until today.
Now if I'm running the test_search.php example I get the following Exception:

[16-Sep-2010 04:33:02] PHP Fatal error:  Uncaught exception 'Exception' with 
message 'read_unknown(group start): Unsupported wire_type' in 
/home/****/proto/protocolbuffers.inc.php:269
Stack trace:
#0 /home/****/proto/market.proto.php(387): Protobuf::read_field(Resource id 
#16, 3, 5201)
#1 /home/****/proto/market.proto.php(357): AppsResponse->read(Resource id #16, 
5201)
#2 /home/****/proto/market.proto.php(3541): AppsResponse->__construct(Resource 
id #16, 5201)
#3 /home/****/proto/market.proto.php(3511): 
Response_ResponseGroup->read(Resource id #16, 9223372036854767174)
#4 /home/****/proto/market.proto.php(3747): 
Response_ResponseGroup->__construct(Resource id #16, 9223372036854767174)
#5 /home/****/Market/MarketSession.php(138): Response->read(Resource id #16)
#6 /home/****/Market/MarketSession.php(123): 
MarketSession->executeProtobuf(Object(Request))
# in /home/****/proto/protocolbuffers.inc.php on line 269

Does someone know what happened? I didn't modify anything in the market php api 
files...

Original issue reported on code.google.com by [email protected] on 16 Sep 2010 at 11:39

Bad request 400 problems

If I leave scrapper I built using this library to run for a while, it works 
fine to a point, and than simply Google returns no data to any of the requests 
(getting apps mostly). I went through code to debug, and the errors generated 
by Google are bad requests. I than checkout Java version of this library and 
they added some new methods to their session class to flush the request and few 
other things (I don't know Java, so I didn't go deep into the code).

Can something be done in this library to prevent these problems?

Milan

Original issue reported on code.google.com by [email protected] on 16 Sep 2010 at 8:12

Missing documentation or examples?

Hi,

Any (even brief) documentation planned? It's now very hard to use these classes 
if you not familiar with it too much. Or at least please add some more examples 
on how to get App info and fetch app comments

Original issue reported on code.google.com by [email protected] on 14 Aug 2010 at 1:56

How to get total number of apps in a category?

What steps will reproduce the problem?
1.Run test_search.php
2.add $ar->getEntriesCount()



What is the expected output? What do you see instead?
It should return some count. But it is not showing right result, instead it 
keeps on showing some other


Please let me know, how can I get total number of apps in a particular category?

Original issue reported on code.google.com by [email protected] on 5 Jan 2011 at 10:51

Request with wrong passwords gives "Missing fields" error

What steps will reproduce the problem?
1. Enter the wrong password for GMail

What is the expected output? What do you see instead?
Error about faulty password or something. "Missing fields" are shown instead, 
very confusing.

Original issue reported on code.google.com by splitfeed on 7 Jan 2011 at 2:51

Uncaught exception 'HTTP request returned code 400' in MarketSession.php

What steps will reproduce the problem?
1. Checkout code from trunk
2. Update local.php with correct device id and credentials
3. Try to run examples/test_search.php

What is the expected output? What do you see instead?
Search should return some data, instead there is exception mentioned in the 
summary.

Complete Stack Trace follows:


Fatal error: Uncaught exception 'Exception' with message 'HTTP request returned 
code 400' in D:\xampp\htdocs\market2\Market\MarketSession.php:212 Stack trace: 
#0 D:\xampp\htdocs\market2\Market\MarketSession.php(160): 
MarketSession->executeRawHttpQuery('??????DQAAAJwAA...') #1 
D:\xampp\htdocs\market2\Market\MarketSession.php(147): 
MarketSession->executeProtobuf(Object(Request)) #2 
D:\xampp\htdocs\market2\examples\test_search.php(23): 
MarketSession->execute(Object(Request_RequestGroup)) #3 {main} thrown in 
D:\xampp\htdocs\market2\Market\MarketSession.php on line 212

Original issue reported on code.google.com by [email protected] on 20 Feb 2011 at 3:12

Find by AppId Sometimes Doesn't work.

What steps will reproduce the problem?
1.Installed api on development server.
2.Made a few changes to the request variable to search by appid
3.Tried to search for com.rovio.angrybirds, 0 results.

What is the expected output? What do you see instead?
I expected to see something about angry birds pop on my screen.

What version of the product are you using? On what operating system?
Lates. On LInux (UBuntu), LAMP, etc. Using Device ID from HTC Inspire 4G(att)

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 19 Feb 2011 at 9:24

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.