Skip to content

Commit 7c50efe

Browse files
author
scrapebadger-bot
committed
chore: regenerate SDK from OpenAPI spec
1 parent 75ba48a commit 7c50efe

5 files changed

Lines changed: 101 additions & 33 deletions

File tree

ScrapeBadger.sln

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio 14
33
VisualStudioVersion = 14.0.25420.1
44
MinimumVisualStudioVersion = 10.0.40219.1
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ScrapeBadger", "src\ScrapeBadger\ScrapeBadger.csproj", "{62F3D0F8-3490-44AB-BE98-DC62AF2A0889}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ScrapeBadger", "src\ScrapeBadger\ScrapeBadger.csproj", "{083014A1-F50F-451B-9D95-C95C4CB9A877}"
66
EndProject
77
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ScrapeBadger.Test", "src\ScrapeBadger.Test\ScrapeBadger.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
88
EndProject
@@ -12,10 +12,10 @@ Global
1212
Release|Any CPU = Release|Any CPU
1313
EndGlobalSection
1414
GlobalSection(ProjectConfigurationPlatforms) = postSolution
15-
{62F3D0F8-3490-44AB-BE98-DC62AF2A0889}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{62F3D0F8-3490-44AB-BE98-DC62AF2A0889}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{62F3D0F8-3490-44AB-BE98-DC62AF2A0889}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{62F3D0F8-3490-44AB-BE98-DC62AF2A0889}.Release|Any CPU.Build.0 = Release|Any CPU
15+
{083014A1-F50F-451B-9D95-C95C4CB9A877}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{083014A1-F50F-451B-9D95-C95C4CB9A877}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{083014A1-F50F-451B-9D95-C95C4CB9A877}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{083014A1-F50F-451B-9D95-C95C4CB9A877}.Release|Any CPU.Build.0 = Release|Any CPU
1919
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2020
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
2121
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU

api/openapi.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5025,6 +5025,21 @@ paths:
50255025
title: Lang
50265026
type: string
50275027
style: form
5028+
- description: Max apps; follows each rail's 'see more' continuation above the
5029+
~40-120 the page renders directly
5030+
explode: true
5031+
in: query
5032+
name: num
5033+
required: false
5034+
schema:
5035+
default: 100
5036+
description: Max apps; follows each rail's 'see more' continuation above
5037+
the ~40-120 the page renders directly
5038+
maximum: 500
5039+
minimum: 1
5040+
title: Num
5041+
type: integer
5042+
style: form
50285043
responses:
50295044
"200":
50305045
content:
@@ -5144,6 +5159,21 @@ paths:
51445159
title: Lang
51455160
type: string
51465161
style: form
5162+
- description: Max apps; follows rail continuations above the page's directly-rendered
5163+
slice
5164+
explode: true
5165+
in: query
5166+
name: num
5167+
required: false
5168+
schema:
5169+
default: 100
5170+
description: Max apps; follows rail continuations above the page's directly-rendered
5171+
slice
5172+
maximum: 500
5173+
minimum: 1
5174+
title: Num
5175+
type: integer
5176+
style: form
51475177
responses:
51485178
"200":
51495179
content:

docs/GooglePlayApi.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ All URIs are relative to *https://scrapebadger.com*
1717

1818
<a id="googleplaybrowseacategory"></a>
1919
# **GooglePlayBrowseACategory**
20-
> Object GooglePlayBrowseACategory (string categoryId, string country = null, string lang = null)
20+
> Object GooglePlayBrowseACategory (string categoryId, string country = null, string lang = null, int? num = null)
2121
2222
Browse a category
2323

@@ -52,11 +52,12 @@ namespace Example
5252
var categoryId = "categoryId_example"; // string | Play category id, e.g. 'GAME_PUZZLE' or 'SOCIAL'
5353
var country = "\"US\""; // string | Play storefront country (gl), ISO 3166-1 alpha-2, e.g. 'US' (optional) (default to "US")
5454
var lang = "\"en\""; // string | Play content language (hl), e.g. 'en' or 'pt-BR' (optional) (default to "en")
55+
var num = 100; // int? | Max apps; follows each rail's 'see more' continuation above the ~40-120 the page renders directly (optional) (default to 100)
5556
5657
try
5758
{
5859
// Browse a category
59-
Object result = apiInstance.GooglePlayBrowseACategory(categoryId, country, lang);
60+
Object result = apiInstance.GooglePlayBrowseACategory(categoryId, country, lang, num);
6061
Debug.WriteLine(result);
6162
}
6263
catch (ApiException e)
@@ -77,7 +78,7 @@ This returns an ApiResponse object which contains the response data, status code
7778
try
7879
{
7980
// Browse a category
80-
ApiResponse<Object> response = apiInstance.GooglePlayBrowseACategoryWithHttpInfo(categoryId, country, lang);
81+
ApiResponse<Object> response = apiInstance.GooglePlayBrowseACategoryWithHttpInfo(categoryId, country, lang, num);
8182
Debug.Write("Status Code: " + response.StatusCode);
8283
Debug.Write("Response Headers: " + response.Headers);
8384
Debug.Write("Response Body: " + response.Data);
@@ -97,6 +98,7 @@ catch (ApiException e)
9798
| **categoryId** | **string** | Play category id, e.g. &#39;GAME_PUZZLE&#39; or &#39;SOCIAL&#39; | |
9899
| **country** | **string** | Play storefront country (gl), ISO 3166-1 alpha-2, e.g. &#39;US&#39; | [optional] [default to &quot;US&quot;] |
99100
| **lang** | **string** | Play content language (hl), e.g. &#39;en&#39; or &#39;pt-BR&#39; | [optional] [default to &quot;en&quot;] |
101+
| **num** | **int?** | Max apps; follows each rail&#39;s &#39;see more&#39; continuation above the ~40-120 the page renders directly | [optional] [default to 100] |
100102

101103
### Return type
102104

@@ -441,7 +443,7 @@ catch (ApiException e)
441443

442444
<a id="googleplaygetdeveloperapps"></a>
443445
# **GooglePlayGetDeveloperApps**
444-
> Object GooglePlayGetDeveloperApps (string developer, string country = null, string lang = null)
446+
> Object GooglePlayGetDeveloperApps (string developer, string country = null, string lang = null, int? num = null)
445447
446448
Get developer apps
447449

@@ -476,11 +478,12 @@ namespace Example
476478
var developer = "developer_example"; // string | Developer name or numeric id
477479
var country = "\"US\""; // string | Play storefront country (gl), ISO 3166-1 alpha-2, e.g. 'US' (optional) (default to "US")
478480
var lang = "\"en\""; // string | Play content language (hl), e.g. 'en' or 'pt-BR' (optional) (default to "en")
481+
var num = 100; // int? | Max apps; follows rail continuations above the page's directly-rendered slice (optional) (default to 100)
479482
480483
try
481484
{
482485
// Get developer apps
483-
Object result = apiInstance.GooglePlayGetDeveloperApps(developer, country, lang);
486+
Object result = apiInstance.GooglePlayGetDeveloperApps(developer, country, lang, num);
484487
Debug.WriteLine(result);
485488
}
486489
catch (ApiException e)
@@ -501,7 +504,7 @@ This returns an ApiResponse object which contains the response data, status code
501504
try
502505
{
503506
// Get developer apps
504-
ApiResponse<Object> response = apiInstance.GooglePlayGetDeveloperAppsWithHttpInfo(developer, country, lang);
507+
ApiResponse<Object> response = apiInstance.GooglePlayGetDeveloperAppsWithHttpInfo(developer, country, lang, num);
505508
Debug.Write("Status Code: " + response.StatusCode);
506509
Debug.Write("Response Headers: " + response.Headers);
507510
Debug.Write("Response Body: " + response.Data);
@@ -521,6 +524,7 @@ catch (ApiException e)
521524
| **developer** | **string** | Developer name or numeric id | |
522525
| **country** | **string** | Play storefront country (gl), ISO 3166-1 alpha-2, e.g. &#39;US&#39; | [optional] [default to &quot;US&quot;] |
523526
| **lang** | **string** | Play content language (hl), e.g. &#39;en&#39; or &#39;pt-BR&#39; | [optional] [default to &quot;en&quot;] |
527+
| **num** | **int?** | Max apps; follows rail continuations above the page&#39;s directly-rendered slice | [optional] [default to 100] |
524528

525529
### Return type
526530

src/ScrapeBadger.Test/Api/GooglePlayApiTests.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ public void GooglePlayBrowseACategoryTest()
6363
//string categoryId = null;
6464
//string country = null;
6565
//string lang = null;
66-
//var response = instance.GooglePlayBrowseACategory(categoryId, country, lang);
66+
//int? num = null;
67+
//var response = instance.GooglePlayBrowseACategory(categoryId, country, lang, num);
6768
//Assert.IsType<Object>(response);
6869
}
6970

@@ -121,7 +122,8 @@ public void GooglePlayGetDeveloperAppsTest()
121122
//string developer = null;
122123
//string country = null;
123124
//string lang = null;
124-
//var response = instance.GooglePlayGetDeveloperApps(developer, country, lang);
125+
//int? num = null;
126+
//var response = instance.GooglePlayGetDeveloperApps(developer, country, lang, num);
125127
//Assert.IsType<Object>(response);
126128
}
127129

0 commit comments

Comments
 (0)