Skip to content

Commit 5d2a345

Browse files
author
scrapebadger-bot
committed
chore: regenerate SDK from OpenAPI spec
1 parent 33cf4aa commit 5d2a345

6 files changed

Lines changed: 753 additions & 29 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ Class | Method | HTTP request | Description
273273
*EBayApi* | [**EbaySearchListings**](docs/EBayApi.md#ebaysearchlistings) | **GET** /v1/ebay/search | Search listings
274274
*FacebookApi* | [**FacebookBrowseAMarketplaceCategory**](docs/FacebookApi.md#facebookbrowseamarketplacecategory) | **GET** /v1/facebook/marketplace/category/{category} | Browse a Marketplace category
275275
*FacebookApi* | [**FacebookGetAMarketplaceItem**](docs/FacebookApi.md#facebookgetamarketplaceitem) | **GET** /v1/facebook/marketplace/item/{item_id} | Get a Marketplace item
276+
*FacebookApi* | [**FacebookGetAdvertiserPageInfo**](docs/FacebookApi.md#facebookgetadvertiserpageinfo) | **GET** /v1/facebook/ads/pages/{page_id} | Get advertiser page info
276277
*FacebookApi* | [**FacebookGetAnAd**](docs/FacebookApi.md#facebookgetanad) | **GET** /v1/facebook/ads/{ad_archive_id} | Get an ad
277278
*FacebookApi* | [**FacebookGetGroupDetail**](docs/FacebookApi.md#facebookgetgroupdetail) | **GET** /v1/facebook/groups/{group_id} | Get group detail
278279
*FacebookApi* | [**FacebookGetGroupPosts**](docs/FacebookApi.md#facebookgetgroupposts) | **GET** /v1/facebook/groups/{group_id}/posts | Get group posts
@@ -284,6 +285,7 @@ Class | Method | HTTP request | Description
284285
*FacebookApi* | [**FacebookGetProfilePosts**](docs/FacebookApi.md#facebookgetprofileposts) | **GET** /v1/facebook/profiles/{identifier}/posts | Get profile posts
285286
*FacebookApi* | [**FacebookListCategories**](docs/FacebookApi.md#facebooklistcategories) | **GET** /v1/facebook/marketplace/categories | List categories
286287
*FacebookApi* | [**FacebookListLocations**](docs/FacebookApi.md#facebooklistlocations) | **GET** /v1/facebook/marketplace/locations | List locations
288+
*FacebookApi* | [**FacebookSearchAdvertiserPages**](docs/FacebookApi.md#facebooksearchadvertiserpages) | **GET** /v1/facebook/ads/pages/search | Search advertiser pages
287289
*FacebookApi* | [**FacebookSearchEvents**](docs/FacebookApi.md#facebooksearchevents) | **GET** /v1/facebook/search/events | Search events
288290
*FacebookApi* | [**FacebookSearchEverything**](docs/FacebookApi.md#facebooksearcheverything) | **GET** /v1/facebook/search | Search everything
289291
*FacebookApi* | [**FacebookSearchGroups**](docs/FacebookApi.md#facebooksearchgroups) | **GET** /v1/facebook/search/groups | Search groups

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", "{7F09E6D6-CD00-49F7-AB47-567FA0AA0351}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ScrapeBadger", "src\ScrapeBadger\ScrapeBadger.csproj", "{4C80CC78-DAB1-45DD-A46C-FC221FB47CFD}"
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-
{7F09E6D6-CD00-49F7-AB47-567FA0AA0351}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{7F09E6D6-CD00-49F7-AB47-567FA0AA0351}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{7F09E6D6-CD00-49F7-AB47-567FA0AA0351}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{7F09E6D6-CD00-49F7-AB47-567FA0AA0351}.Release|Any CPU.Build.0 = Release|Any CPU
15+
{4C80CC78-DAB1-45DD-A46C-FC221FB47CFD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{4C80CC78-DAB1-45DD-A46C-FC221FB47CFD}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{4C80CC78-DAB1-45DD-A46C-FC221FB47CFD}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{4C80CC78-DAB1-45DD-A46C-FC221FB47CFD}.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: 100 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4262,6 +4262,91 @@ paths:
42624262
summary: Get seller listings
42634263
tags:
42644264
- eBay
4265+
/v1/facebook/ads/pages/search:
4266+
get:
4267+
description: |-
4268+
Search advertiser Pages in the Ad Library — returns page ids, categories,
4269+
likes/followers, verification and Instagram handles.
4270+
operationId: facebook_search_advertiser_pages
4271+
parameters:
4272+
- description: Advertiser name or keyword
4273+
explode: true
4274+
in: query
4275+
name: query
4276+
required: true
4277+
schema:
4278+
description: Advertiser name or keyword
4279+
title: Query
4280+
type: string
4281+
style: form
4282+
- explode: true
4283+
in: query
4284+
name: country
4285+
required: false
4286+
schema:
4287+
default: US
4288+
title: Country
4289+
type: string
4290+
style: form
4291+
responses:
4292+
"200":
4293+
content:
4294+
application/json:
4295+
schema: {}
4296+
description: Successful Response
4297+
"422":
4298+
content:
4299+
application/json:
4300+
schema:
4301+
$ref: '#/components/schemas/HTTPValidationError'
4302+
description: Validation Error
4303+
security:
4304+
- ApiKeyAuth: []
4305+
summary: Search advertiser pages
4306+
tags:
4307+
- Facebook
4308+
/v1/facebook/ads/pages/{page_id}:
4309+
get:
4310+
description: |-
4311+
Get advertiser page info: category, followers, page transparency (creation
4312+
date, name history, managing organization, admin-account locations), related
4313+
pages, and ad spend (for political/issue advertisers).
4314+
operationId: facebook_get_advertiser_page_info
4315+
parameters:
4316+
- explode: false
4317+
in: path
4318+
name: page_id
4319+
required: true
4320+
schema:
4321+
title: Page Id
4322+
type: string
4323+
style: simple
4324+
- explode: true
4325+
in: query
4326+
name: country
4327+
required: false
4328+
schema:
4329+
default: US
4330+
title: Country
4331+
type: string
4332+
style: form
4333+
responses:
4334+
"200":
4335+
content:
4336+
application/json:
4337+
schema: {}
4338+
description: Successful Response
4339+
"422":
4340+
content:
4341+
application/json:
4342+
schema:
4343+
$ref: '#/components/schemas/HTTPValidationError'
4344+
description: Validation Error
4345+
security:
4346+
- ApiKeyAuth: []
4347+
summary: Get advertiser page info
4348+
tags:
4349+
- Facebook
42654350
/v1/facebook/ads/search:
42664351
get:
42674352
description: Search the Facebook Ad Library.
@@ -4331,7 +4416,10 @@ paths:
43314416
- Facebook
43324417
/v1/facebook/ads/{ad_archive_id}:
43334418
get:
4334-
description: Get a single Ad Library ad by its archive id.
4419+
description: |-
4420+
Get a single Ad Library ad by its archive id. For EU/UK-targeted ads the
4421+
response also includes transparency insights (payer/beneficiary, total EU
4422+
reach, and age/gender/country reach breakdowns).
43354423
operationId: facebook_get_an_ad
43364424
parameters:
43374425
- explode: false
@@ -4342,6 +4430,17 @@ paths:
43424430
title: Ad Archive Id
43434431
type: string
43444432
style: simple
4433+
- description: ISO country code (an EU code returns EU transparency)
4434+
explode: true
4435+
in: query
4436+
name: country
4437+
required: false
4438+
schema:
4439+
default: US
4440+
description: ISO country code (an EU code returns EU transparency)
4441+
title: Country
4442+
type: string
4443+
style: form
43454444
responses:
43464445
"200":
43474446
content:

0 commit comments

Comments
 (0)