start spotlight output
This commit is contained in:
@@ -48,6 +48,7 @@
|
|||||||
<Compile Include="StoreImageType.cs" />
|
<Compile Include="StoreImageType.cs" />
|
||||||
<Compile Include="StoreReviewSorting.cs" />
|
<Compile Include="StoreReviewSorting.cs" />
|
||||||
<Compile Include="StoreSearchResults.cs" />
|
<Compile Include="StoreSearchResults.cs" />
|
||||||
|
<Compile Include="StoreSpotlightType.cs" />
|
||||||
<Compile Include="StoreType.cs" />
|
<Compile Include="StoreType.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
|
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
|
||||||
|
|||||||
@@ -14,9 +14,10 @@ namespace OnePeek.WebConsole.Modules
|
|||||||
Configuration.UseFiveStarSystem = true;
|
Configuration.UseFiveStarSystem = true;
|
||||||
OnePeekApi api = new OnePeekApi();
|
OnePeekApi api = new OnePeekApi();
|
||||||
|
|
||||||
Get["/"] = ctx =>
|
Get["/", true] = async (ctx, token) =>
|
||||||
{
|
{
|
||||||
return View["Index"];
|
StoreSearchResults result = await api.GetSpotlight(StoreSpotlightType.Apps, StoreType.WindowsPhone8, StoreCultureType.EN_US);
|
||||||
|
return View["Index", result];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,10 @@
|
|||||||
Layout = "_Layout.cshtml";
|
Layout = "_Layout.cshtml";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
<div class="spotlight">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
<form id="apiquery" action="/meta" method="get">
|
<form id="apiquery" action="/meta" method="get">
|
||||||
<div class="large-12 columns">
|
<div class="large-12 columns">
|
||||||
<h3>API QUERY</h3>
|
<h3>API QUERY</h3>
|
||||||
|
|||||||
Reference in New Issue
Block a user