diff --git a/src/OnePeek.WebConsole/Modules/HomeModule.cs b/src/OnePeek.WebConsole/Modules/HomeModule.cs
index 06d2ce8..07ff9c3 100644
--- a/src/OnePeek.WebConsole/Modules/HomeModule.cs
+++ b/src/OnePeek.WebConsole/Modules/HomeModule.cs
@@ -19,6 +19,7 @@ namespace OnePeek.WebConsole.Modules
return View["Index"];
};
+
Get["/meta", true] = async (ctx, token) =>
{
AppMetadata meta = await api.GetMetadata(Request.Query["id"], StoreType.WindowsPhone8, StoreCultureType.EN_US);
@@ -32,6 +33,14 @@ namespace OnePeek.WebConsole.Modules
return View["Reviews", reviews];
};
+
+ Get["/search", true] = async (ctx, token) =>
+ {
+ StoreSearchResults result = await api.Search(Request.Query["term"], StoreType.WindowsPhone8, StoreCultureType.EN_US);
+ return View["Search", result];
+ };
+
+
Get["/ratings", true] = async (ctx, token) =>
{
var order = Request.Query["order"];
diff --git a/src/OnePeek.WebConsole/OnePeek.WebConsole.csproj b/src/OnePeek.WebConsole/OnePeek.WebConsole.csproj
index cda1862..ccbe5bc 100644
--- a/src/OnePeek.WebConsole/OnePeek.WebConsole.csproj
+++ b/src/OnePeek.WebConsole/OnePeek.WebConsole.csproj
@@ -80,6 +80,7 @@