Giter VIP home page Giter VIP logo

winapp-data-fetcher's Introduction

WinApp Data Fetcher

Is a full asynchronous C# library used to get information about Windows Phone or Windows Store Apps getting from the App store web site.

App information is obtained fetching it through internet visiting each App Store web page, his allows you get updated infomation for every app you want and uses this information in your any way.

You only need to know two things about an App

  • App Guid
  • What kind of app it's (Windows Phone or Windows Store)

Usage Examples

Fetching One App Data

var phoneGuid = "d2d17da2-e6ad-4b6b-bdcd-ffdea39ba78d";
var parser = new StoreParser(new PhoneStoreBehavior());
           
IStoreApp appData = await parser.GetStoreAppDataAsync(phoneGuid);

Console.WriteLine(appData);

This will produce the following output

GUID:d2d17da2-e6ad-4b6b-bdcd-ffdea39ba78d
Name:Magic Ghost Hunter
Author:deltayeisson
StoreUri:http://www.windowsphone.com/es-co/store/app/dummy/d2d17da2-e6ad-4b6b-bdcd-ffdea39ba78d
ThumbnailUri:http://cdn.marketplaceimages.windowsphone.com/v8/images/bbb6a2d3-7dbd-4727-9aa7-8d006346e9ad?imageType=ws_icon_large

###Fecthing multiple Apps Data

List<string> phoneGuids = new List<string>() 
                                 {"d2d17da2-e6ad-4b6b-bdcd-ffdea39ba78d",
                                  "f4232c0b-24e5-4f01-b8bb-69a892d06e28"};

var parser = new StoreParser(new PhoneStoreBehavior());

//this will open a Thread (Task) for each Guid in list
IEnumerable<IStoreApp> appData = parser.GetStoreAppDataCollection(phoneGuids);

foreach (var app in appData)
{
    Console.WriteLine(app);
    Console.WriteLine("__________________________");               
}

This will produce the following output

GUID:f4232c0b-24e5-4f01-b8bb-69a892d06e28
Name:Colsanitas
Author:Organización Sanitas Internacional
StoreUri:http://www.windowsphone.com/es-co/store/app/dummy/f4232c0b-24e5-4f01-b8bb-69a892d06e28
ThumbnailUri:http://cdn.marketplaceimages.windowsphone.com/v8/images/653f8a8a-1e9f-4c13-b9dd-f9718879bfec?imageType=ws_icon_large

__________________________
GUID:d2d17da2-e6ad-4b6b-bdcd-ffdea39ba78d
Name:Magic Ghost Hunter
Author:deltayeisson
StoreUri:http://www.windowsphone.com/es-co/store/app/dummy/d2d17da2-e6ad-4b6b-bdcd-ffdea39ba78d
ThumbnailUri:http://cdn.marketplaceimages.windowsphone.com/v8/images/bbb6a2d3-7dbd-4727-9aa7-8d006346e9ad?imageType=ws_icon_large

__________________________

Where to find App Guids?

Guids are easily located in each App web page in the store. This is a link from a Windows Phone App, final part is the Guid:

www.windowsphone.com/es-co/store/app/colsanitas/f4232c0b-24e5-4f01-b8bb-69a892d06e28

Same thing for this Windows Store App

http://apps.microsoft.com/windows/en-us/app/city-defend/dda9a3b7-01cf-4ce7-a268-128712d7fcdd

WinApp Data Fetcher Client

Exporting App information to JSon

Solution Includes "WinApp Data Fetcher Client" a small console tool that serialize App Data in a JSon formatted file.

This tool read this files from same executable directory

  • win.input : contains a list of Guids for Windows Store Apps
  • phone.input : contains a list of Guids for Windows Phone Apps

Both files are optional.

The tool generates an output file for each of .input files contaning JSon Data for each corresponfing App on related store.

  • win.json
  • phone.json

Features

  • Async operations: each web call runs in a diferent thread
  • Support Windows Phone and Windows Store Apps
  • Created to be extensible
  • Included console client tool "WinApp Data Fecther Client"

winapp-data-fetcher's People

Contributors

juankruiz avatar

Watchers

 avatar  avatar

Forkers

techlord-rce

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.