Akdeniz / google-play-crawler

Play with Google Play API :)
Other
562 stars 204 forks source link

Add REPL capabilities #11

Closed Fuzion24 closed 11 years ago

Fuzion24 commented 11 years ago

You can do it as of now... just run

sbt console

This class loads all of the appropriate stuff and you can interact with it interactively:

import com.akdeniz.googleplaycrawler._
val gapi = new GooglePlayAPI("username@gmail.com","password", "androidID")
gapi.login
val results = gapi.search("something)

Then you can do filtering on the results as in the following psuedo code results.filter(r => r.price == 0) Tab completion will work as well when looking for methods off classes...

The actual fix part of this is for removing the scala jars when building, but leaving them in when running the REPL..

Fuzion24 commented 11 years ago

As a note, @Akdeniz, protobuf should be fine at 2.5.0. Just make sure you have protoc version 2.5.0 $protoc --version libprotoc 2.5.0

Fuzion24 commented 11 years ago

I have rewritten most of this project with Async support + purchasing + returns .. I'll see if I can open source this soon as it is written in scala and should allow for better repl interactivity and work better at scale

Fuzion24 commented 11 years ago

@Akdeniz if you get a second, can you email me, I'd like to discuss a couple things with you fuzion24 at gmail.

Thanks..