@crawlora-org/sdk 1.5.0-sdk.3 → 1.6.0-sdk.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +3 -2
- package/docs/operations.md +13 -5
- package/docs/recipes.md +9 -0
- package/openapi/public.json +1681 -155
- package/package.json +1 -1
- package/src/client.js +1 -1
- package/src/operations.js +409 -6
- package/src/types.d.ts +389 -0
package/openapi/public.json
CHANGED
|
@@ -3045,6 +3045,276 @@
|
|
|
3045
3045
|
},
|
|
3046
3046
|
"type": "object"
|
|
3047
3047
|
},
|
|
3048
|
+
"brand.Address": {
|
|
3049
|
+
"properties": {
|
|
3050
|
+
"city": {
|
|
3051
|
+
"type": "string"
|
|
3052
|
+
},
|
|
3053
|
+
"country": {
|
|
3054
|
+
"type": "string"
|
|
3055
|
+
},
|
|
3056
|
+
"country_code": {
|
|
3057
|
+
"type": "string"
|
|
3058
|
+
},
|
|
3059
|
+
"postal_code": {
|
|
3060
|
+
"type": "string"
|
|
3061
|
+
},
|
|
3062
|
+
"state_code": {
|
|
3063
|
+
"type": "string"
|
|
3064
|
+
},
|
|
3065
|
+
"state_province": {
|
|
3066
|
+
"type": "string"
|
|
3067
|
+
},
|
|
3068
|
+
"street": {
|
|
3069
|
+
"type": "string"
|
|
3070
|
+
}
|
|
3071
|
+
},
|
|
3072
|
+
"type": "object"
|
|
3073
|
+
},
|
|
3074
|
+
"brand.Backdrop": {
|
|
3075
|
+
"properties": {
|
|
3076
|
+
"colors": {
|
|
3077
|
+
"items": {
|
|
3078
|
+
"$ref": "#/definitions/brand.Color"
|
|
3079
|
+
},
|
|
3080
|
+
"type": "array"
|
|
3081
|
+
},
|
|
3082
|
+
"resolution": {
|
|
3083
|
+
"$ref": "#/definitions/brand.Resolution"
|
|
3084
|
+
},
|
|
3085
|
+
"url": {
|
|
3086
|
+
"type": "string"
|
|
3087
|
+
}
|
|
3088
|
+
},
|
|
3089
|
+
"type": "object"
|
|
3090
|
+
},
|
|
3091
|
+
"brand.BrandResponse": {
|
|
3092
|
+
"properties": {
|
|
3093
|
+
"address": {
|
|
3094
|
+
"$ref": "#/definitions/brand.Address"
|
|
3095
|
+
},
|
|
3096
|
+
"backdrops": {
|
|
3097
|
+
"items": {
|
|
3098
|
+
"$ref": "#/definitions/brand.Backdrop"
|
|
3099
|
+
},
|
|
3100
|
+
"type": "array"
|
|
3101
|
+
},
|
|
3102
|
+
"colors": {
|
|
3103
|
+
"items": {
|
|
3104
|
+
"$ref": "#/definitions/brand.Color"
|
|
3105
|
+
},
|
|
3106
|
+
"type": "array"
|
|
3107
|
+
},
|
|
3108
|
+
"description": {
|
|
3109
|
+
"example": "Brand intelligence for the modern web.",
|
|
3110
|
+
"type": "string"
|
|
3111
|
+
},
|
|
3112
|
+
"domain": {
|
|
3113
|
+
"example": "context.dev",
|
|
3114
|
+
"type": "string"
|
|
3115
|
+
},
|
|
3116
|
+
"email": {
|
|
3117
|
+
"type": "string"
|
|
3118
|
+
},
|
|
3119
|
+
"industries": {
|
|
3120
|
+
"$ref": "#/definitions/brand.Industries"
|
|
3121
|
+
},
|
|
3122
|
+
"is_nsfw": {
|
|
3123
|
+
"example": false,
|
|
3124
|
+
"type": "boolean"
|
|
3125
|
+
},
|
|
3126
|
+
"links": {
|
|
3127
|
+
"$ref": "#/definitions/brand.Links"
|
|
3128
|
+
},
|
|
3129
|
+
"logos": {
|
|
3130
|
+
"items": {
|
|
3131
|
+
"$ref": "#/definitions/brand.Logo"
|
|
3132
|
+
},
|
|
3133
|
+
"type": "array"
|
|
3134
|
+
},
|
|
3135
|
+
"phone": {
|
|
3136
|
+
"type": "string"
|
|
3137
|
+
},
|
|
3138
|
+
"primary_language": {
|
|
3139
|
+
"example": "en",
|
|
3140
|
+
"type": "string"
|
|
3141
|
+
},
|
|
3142
|
+
"slogan": {
|
|
3143
|
+
"type": "string"
|
|
3144
|
+
},
|
|
3145
|
+
"socials": {
|
|
3146
|
+
"items": {
|
|
3147
|
+
"$ref": "#/definitions/brand.Social"
|
|
3148
|
+
},
|
|
3149
|
+
"type": "array"
|
|
3150
|
+
},
|
|
3151
|
+
"source": {
|
|
3152
|
+
"$ref": "#/definitions/brand.SourceDetail"
|
|
3153
|
+
},
|
|
3154
|
+
"stock": {
|
|
3155
|
+
"$ref": "#/definitions/brand.Stock"
|
|
3156
|
+
},
|
|
3157
|
+
"title": {
|
|
3158
|
+
"example": "Context",
|
|
3159
|
+
"type": "string"
|
|
3160
|
+
}
|
|
3161
|
+
},
|
|
3162
|
+
"type": "object"
|
|
3163
|
+
},
|
|
3164
|
+
"brand.Color": {
|
|
3165
|
+
"properties": {
|
|
3166
|
+
"hex": {
|
|
3167
|
+
"example": "#0b0b0b",
|
|
3168
|
+
"type": "string"
|
|
3169
|
+
},
|
|
3170
|
+
"name": {
|
|
3171
|
+
"type": "string"
|
|
3172
|
+
}
|
|
3173
|
+
},
|
|
3174
|
+
"type": "object"
|
|
3175
|
+
},
|
|
3176
|
+
"brand.EIC": {
|
|
3177
|
+
"properties": {
|
|
3178
|
+
"industry": {
|
|
3179
|
+
"type": "string"
|
|
3180
|
+
},
|
|
3181
|
+
"subindustry": {
|
|
3182
|
+
"type": "string"
|
|
3183
|
+
}
|
|
3184
|
+
},
|
|
3185
|
+
"type": "object"
|
|
3186
|
+
},
|
|
3187
|
+
"brand.Industries": {
|
|
3188
|
+
"properties": {
|
|
3189
|
+
"eic": {
|
|
3190
|
+
"items": {
|
|
3191
|
+
"$ref": "#/definitions/brand.EIC"
|
|
3192
|
+
},
|
|
3193
|
+
"type": "array"
|
|
3194
|
+
}
|
|
3195
|
+
},
|
|
3196
|
+
"type": "object"
|
|
3197
|
+
},
|
|
3198
|
+
"brand.Links": {
|
|
3199
|
+
"properties": {
|
|
3200
|
+
"blog": {
|
|
3201
|
+
"type": "string"
|
|
3202
|
+
},
|
|
3203
|
+
"careers": {
|
|
3204
|
+
"type": "string"
|
|
3205
|
+
},
|
|
3206
|
+
"contact": {
|
|
3207
|
+
"type": "string"
|
|
3208
|
+
},
|
|
3209
|
+
"pricing": {
|
|
3210
|
+
"type": "string"
|
|
3211
|
+
},
|
|
3212
|
+
"privacy": {
|
|
3213
|
+
"type": "string"
|
|
3214
|
+
},
|
|
3215
|
+
"terms": {
|
|
3216
|
+
"type": "string"
|
|
3217
|
+
}
|
|
3218
|
+
},
|
|
3219
|
+
"type": "object"
|
|
3220
|
+
},
|
|
3221
|
+
"brand.Logo": {
|
|
3222
|
+
"properties": {
|
|
3223
|
+
"colors": {
|
|
3224
|
+
"items": {
|
|
3225
|
+
"$ref": "#/definitions/brand.Color"
|
|
3226
|
+
},
|
|
3227
|
+
"type": "array"
|
|
3228
|
+
},
|
|
3229
|
+
"mode": {
|
|
3230
|
+
"type": "string"
|
|
3231
|
+
},
|
|
3232
|
+
"resolution": {
|
|
3233
|
+
"$ref": "#/definitions/brand.Resolution"
|
|
3234
|
+
},
|
|
3235
|
+
"type": {
|
|
3236
|
+
"example": "icon",
|
|
3237
|
+
"type": "string"
|
|
3238
|
+
},
|
|
3239
|
+
"url": {
|
|
3240
|
+
"example": "https://context.dev/favicon.ico",
|
|
3241
|
+
"type": "string"
|
|
3242
|
+
}
|
|
3243
|
+
},
|
|
3244
|
+
"type": "object"
|
|
3245
|
+
},
|
|
3246
|
+
"brand.Resolution": {
|
|
3247
|
+
"properties": {
|
|
3248
|
+
"aspect_ratio": {
|
|
3249
|
+
"example": 1,
|
|
3250
|
+
"type": "number"
|
|
3251
|
+
},
|
|
3252
|
+
"height": {
|
|
3253
|
+
"example": 512,
|
|
3254
|
+
"type": "integer"
|
|
3255
|
+
},
|
|
3256
|
+
"width": {
|
|
3257
|
+
"example": 512,
|
|
3258
|
+
"type": "integer"
|
|
3259
|
+
}
|
|
3260
|
+
},
|
|
3261
|
+
"type": "object"
|
|
3262
|
+
},
|
|
3263
|
+
"brand.Social": {
|
|
3264
|
+
"properties": {
|
|
3265
|
+
"type": {
|
|
3266
|
+
"example": "x",
|
|
3267
|
+
"type": "string"
|
|
3268
|
+
},
|
|
3269
|
+
"url": {
|
|
3270
|
+
"example": "https://x.com/context",
|
|
3271
|
+
"type": "string"
|
|
3272
|
+
}
|
|
3273
|
+
},
|
|
3274
|
+
"type": "object"
|
|
3275
|
+
},
|
|
3276
|
+
"brand.SourceDetail": {
|
|
3277
|
+
"properties": {
|
|
3278
|
+
"type": {
|
|
3279
|
+
"example": "html",
|
|
3280
|
+
"type": "string"
|
|
3281
|
+
},
|
|
3282
|
+
"url": {
|
|
3283
|
+
"example": "https://context.dev",
|
|
3284
|
+
"type": "string"
|
|
3285
|
+
}
|
|
3286
|
+
},
|
|
3287
|
+
"type": "object"
|
|
3288
|
+
},
|
|
3289
|
+
"brand.Stock": {
|
|
3290
|
+
"properties": {
|
|
3291
|
+
"exchange": {
|
|
3292
|
+
"example": "NASDAQ",
|
|
3293
|
+
"type": "string"
|
|
3294
|
+
},
|
|
3295
|
+
"ticker": {
|
|
3296
|
+
"example": "NVDA",
|
|
3297
|
+
"type": "string"
|
|
3298
|
+
}
|
|
3299
|
+
},
|
|
3300
|
+
"type": "object"
|
|
3301
|
+
},
|
|
3302
|
+
"brand.retrieveResponseDoc": {
|
|
3303
|
+
"properties": {
|
|
3304
|
+
"code": {
|
|
3305
|
+
"example": 200,
|
|
3306
|
+
"type": "integer"
|
|
3307
|
+
},
|
|
3308
|
+
"data": {
|
|
3309
|
+
"$ref": "#/definitions/brand.BrandResponse"
|
|
3310
|
+
},
|
|
3311
|
+
"msg": {
|
|
3312
|
+
"example": "OK",
|
|
3313
|
+
"type": "string"
|
|
3314
|
+
}
|
|
3315
|
+
},
|
|
3316
|
+
"type": "object"
|
|
3317
|
+
},
|
|
3048
3318
|
"brave.Discussion": {
|
|
3049
3319
|
"properties": {
|
|
3050
3320
|
"age": {
|
|
@@ -8482,6 +8752,53 @@
|
|
|
8482
8752
|
},
|
|
8483
8753
|
"type": "object"
|
|
8484
8754
|
},
|
|
8755
|
+
"google.NewsResponse": {
|
|
8756
|
+
"properties": {
|
|
8757
|
+
"pagination": {
|
|
8758
|
+
"$ref": "#/definitions/google.VerticalPagination"
|
|
8759
|
+
},
|
|
8760
|
+
"results": {
|
|
8761
|
+
"items": {
|
|
8762
|
+
"$ref": "#/definitions/google.NewsResult"
|
|
8763
|
+
},
|
|
8764
|
+
"type": "array"
|
|
8765
|
+
}
|
|
8766
|
+
},
|
|
8767
|
+
"type": "object"
|
|
8768
|
+
},
|
|
8769
|
+
"google.NewsResult": {
|
|
8770
|
+
"properties": {
|
|
8771
|
+
"age": {
|
|
8772
|
+
"example": "2 hours ago",
|
|
8773
|
+
"type": "string"
|
|
8774
|
+
},
|
|
8775
|
+
"description": {
|
|
8776
|
+
"example": "OpenAI announced an update.",
|
|
8777
|
+
"type": "string"
|
|
8778
|
+
},
|
|
8779
|
+
"position": {
|
|
8780
|
+
"example": 1,
|
|
8781
|
+
"type": "integer"
|
|
8782
|
+
},
|
|
8783
|
+
"source": {
|
|
8784
|
+
"example": "Example News",
|
|
8785
|
+
"type": "string"
|
|
8786
|
+
},
|
|
8787
|
+
"thumbnail": {
|
|
8788
|
+
"example": "https://example.com/thumb.jpg",
|
|
8789
|
+
"type": "string"
|
|
8790
|
+
},
|
|
8791
|
+
"title": {
|
|
8792
|
+
"example": "OpenAI announces update",
|
|
8793
|
+
"type": "string"
|
|
8794
|
+
},
|
|
8795
|
+
"url": {
|
|
8796
|
+
"example": "https://example.com/openai-news",
|
|
8797
|
+
"type": "string"
|
|
8798
|
+
}
|
|
8799
|
+
},
|
|
8800
|
+
"type": "object"
|
|
8801
|
+
},
|
|
8485
8802
|
"google.PeopleAlsoAskItem": {
|
|
8486
8803
|
"properties": {
|
|
8487
8804
|
"answer": {
|
|
@@ -8728,6 +9045,74 @@
|
|
|
8728
9045
|
},
|
|
8729
9046
|
"type": "object"
|
|
8730
9047
|
},
|
|
9048
|
+
"google.VerticalPagination": {
|
|
9049
|
+
"properties": {
|
|
9050
|
+
"next_page": {
|
|
9051
|
+
"example": 2,
|
|
9052
|
+
"type": "integer"
|
|
9053
|
+
},
|
|
9054
|
+
"page": {
|
|
9055
|
+
"example": 1,
|
|
9056
|
+
"type": "integer"
|
|
9057
|
+
},
|
|
9058
|
+
"previous_page": {
|
|
9059
|
+
"example": 1,
|
|
9060
|
+
"type": "integer"
|
|
9061
|
+
}
|
|
9062
|
+
},
|
|
9063
|
+
"type": "object"
|
|
9064
|
+
},
|
|
9065
|
+
"google.VideoResult": {
|
|
9066
|
+
"properties": {
|
|
9067
|
+
"age": {
|
|
9068
|
+
"example": "2 days ago",
|
|
9069
|
+
"type": "string"
|
|
9070
|
+
},
|
|
9071
|
+
"description": {
|
|
9072
|
+
"example": "Watch the OpenAI DevDay keynote.",
|
|
9073
|
+
"type": "string"
|
|
9074
|
+
},
|
|
9075
|
+
"duration": {
|
|
9076
|
+
"example": "45:12",
|
|
9077
|
+
"type": "string"
|
|
9078
|
+
},
|
|
9079
|
+
"platform": {
|
|
9080
|
+
"example": "YouTube",
|
|
9081
|
+
"type": "string"
|
|
9082
|
+
},
|
|
9083
|
+
"position": {
|
|
9084
|
+
"example": 1,
|
|
9085
|
+
"type": "integer"
|
|
9086
|
+
},
|
|
9087
|
+
"thumbnail": {
|
|
9088
|
+
"example": "https://example.com/thumb.jpg",
|
|
9089
|
+
"type": "string"
|
|
9090
|
+
},
|
|
9091
|
+
"title": {
|
|
9092
|
+
"example": "OpenAI DevDay keynote - YouTube",
|
|
9093
|
+
"type": "string"
|
|
9094
|
+
},
|
|
9095
|
+
"url": {
|
|
9096
|
+
"example": "https://www.youtube.com/watch?v=openai-devday",
|
|
9097
|
+
"type": "string"
|
|
9098
|
+
}
|
|
9099
|
+
},
|
|
9100
|
+
"type": "object"
|
|
9101
|
+
},
|
|
9102
|
+
"google.VideosResponse": {
|
|
9103
|
+
"properties": {
|
|
9104
|
+
"pagination": {
|
|
9105
|
+
"$ref": "#/definitions/google.VerticalPagination"
|
|
9106
|
+
},
|
|
9107
|
+
"results": {
|
|
9108
|
+
"items": {
|
|
9109
|
+
"$ref": "#/definitions/google.VideoResult"
|
|
9110
|
+
},
|
|
9111
|
+
"type": "array"
|
|
9112
|
+
}
|
|
9113
|
+
},
|
|
9114
|
+
"type": "object"
|
|
9115
|
+
},
|
|
8731
9116
|
"google.mapPlaceResponseDoc": {
|
|
8732
9117
|
"properties": {
|
|
8733
9118
|
"code": {
|
|
@@ -8763,6 +9148,22 @@
|
|
|
8763
9148
|
},
|
|
8764
9149
|
"type": "object"
|
|
8765
9150
|
},
|
|
9151
|
+
"google.newsResponseDoc": {
|
|
9152
|
+
"properties": {
|
|
9153
|
+
"code": {
|
|
9154
|
+
"example": 200,
|
|
9155
|
+
"type": "integer"
|
|
9156
|
+
},
|
|
9157
|
+
"data": {
|
|
9158
|
+
"$ref": "#/definitions/google.NewsResponse"
|
|
9159
|
+
},
|
|
9160
|
+
"msg": {
|
|
9161
|
+
"example": "OK",
|
|
9162
|
+
"type": "string"
|
|
9163
|
+
}
|
|
9164
|
+
},
|
|
9165
|
+
"type": "object"
|
|
9166
|
+
},
|
|
8766
9167
|
"google.searchResponseDoc": {
|
|
8767
9168
|
"properties": {
|
|
8768
9169
|
"code": {
|
|
@@ -8795,6 +9196,22 @@
|
|
|
8795
9196
|
},
|
|
8796
9197
|
"type": "object"
|
|
8797
9198
|
},
|
|
9199
|
+
"google.videosResponseDoc": {
|
|
9200
|
+
"properties": {
|
|
9201
|
+
"code": {
|
|
9202
|
+
"example": 200,
|
|
9203
|
+
"type": "integer"
|
|
9204
|
+
},
|
|
9205
|
+
"data": {
|
|
9206
|
+
"$ref": "#/definitions/google.VideosResponse"
|
|
9207
|
+
},
|
|
9208
|
+
"msg": {
|
|
9209
|
+
"example": "OK",
|
|
9210
|
+
"type": "string"
|
|
9211
|
+
}
|
|
9212
|
+
},
|
|
9213
|
+
"type": "object"
|
|
9214
|
+
},
|
|
8798
9215
|
"googleplay.App": {
|
|
8799
9216
|
"properties": {
|
|
8800
9217
|
"ad_supported": {
|
|
@@ -15540,6 +15957,336 @@
|
|
|
15540
15957
|
},
|
|
15541
15958
|
"type": "object"
|
|
15542
15959
|
},
|
|
15960
|
+
"reddit.Author": {
|
|
15961
|
+
"properties": {
|
|
15962
|
+
"name": {
|
|
15963
|
+
"example": "reddit_user",
|
|
15964
|
+
"type": "string"
|
|
15965
|
+
},
|
|
15966
|
+
"profile_url": {
|
|
15967
|
+
"example": "https://www.reddit.com/user/reddit_user/",
|
|
15968
|
+
"type": "string"
|
|
15969
|
+
}
|
|
15970
|
+
},
|
|
15971
|
+
"type": "object"
|
|
15972
|
+
},
|
|
15973
|
+
"reddit.Comment": {
|
|
15974
|
+
"properties": {
|
|
15975
|
+
"author": {
|
|
15976
|
+
"$ref": "#/definitions/reddit.Author"
|
|
15977
|
+
},
|
|
15978
|
+
"body": {
|
|
15979
|
+
"example": "I agree with this post.",
|
|
15980
|
+
"type": "string"
|
|
15981
|
+
},
|
|
15982
|
+
"created": {
|
|
15983
|
+
"example": "2024-04-19T00:00:00Z",
|
|
15984
|
+
"type": "string"
|
|
15985
|
+
},
|
|
15986
|
+
"created_utc": {
|
|
15987
|
+
"example": 1713484800,
|
|
15988
|
+
"type": "integer"
|
|
15989
|
+
},
|
|
15990
|
+
"depth": {
|
|
15991
|
+
"example": 1,
|
|
15992
|
+
"type": "integer"
|
|
15993
|
+
},
|
|
15994
|
+
"id": {
|
|
15995
|
+
"example": "kabc123",
|
|
15996
|
+
"type": "string"
|
|
15997
|
+
},
|
|
15998
|
+
"name": {
|
|
15999
|
+
"example": "t1_kabc123",
|
|
16000
|
+
"type": "string"
|
|
16001
|
+
},
|
|
16002
|
+
"parent_id": {
|
|
16003
|
+
"example": "t3_1abcxyz",
|
|
16004
|
+
"type": "string"
|
|
16005
|
+
},
|
|
16006
|
+
"permalink": {
|
|
16007
|
+
"example": "https://www.reddit.com/r/OpenAI/comments/1abcxyz/openai_discussion_thread/kabc123/",
|
|
16008
|
+
"type": "string"
|
|
16009
|
+
},
|
|
16010
|
+
"replies": {
|
|
16011
|
+
"items": {
|
|
16012
|
+
"$ref": "#/definitions/reddit.Comment"
|
|
16013
|
+
},
|
|
16014
|
+
"type": "array"
|
|
16015
|
+
},
|
|
16016
|
+
"score": {
|
|
16017
|
+
"example": 12,
|
|
16018
|
+
"type": "integer"
|
|
16019
|
+
}
|
|
16020
|
+
},
|
|
16021
|
+
"type": "object"
|
|
16022
|
+
},
|
|
16023
|
+
"reddit.CommentsResponse": {
|
|
16024
|
+
"properties": {
|
|
16025
|
+
"comments": {
|
|
16026
|
+
"items": {
|
|
16027
|
+
"$ref": "#/definitions/reddit.Comment"
|
|
16028
|
+
},
|
|
16029
|
+
"type": "array"
|
|
16030
|
+
},
|
|
16031
|
+
"post": {
|
|
16032
|
+
"$ref": "#/definitions/reddit.Post"
|
|
16033
|
+
},
|
|
16034
|
+
"source": {
|
|
16035
|
+
"$ref": "#/definitions/reddit.SourceDetail"
|
|
16036
|
+
}
|
|
16037
|
+
},
|
|
16038
|
+
"type": "object"
|
|
16039
|
+
},
|
|
16040
|
+
"reddit.Pagination": {
|
|
16041
|
+
"properties": {
|
|
16042
|
+
"after": {
|
|
16043
|
+
"example": "t3_1abcxyz",
|
|
16044
|
+
"type": "string"
|
|
16045
|
+
},
|
|
16046
|
+
"limit": {
|
|
16047
|
+
"example": 25,
|
|
16048
|
+
"type": "integer"
|
|
16049
|
+
}
|
|
16050
|
+
},
|
|
16051
|
+
"type": "object"
|
|
16052
|
+
},
|
|
16053
|
+
"reddit.Post": {
|
|
16054
|
+
"properties": {
|
|
16055
|
+
"author": {
|
|
16056
|
+
"$ref": "#/definitions/reddit.Author"
|
|
16057
|
+
},
|
|
16058
|
+
"comment_count": {
|
|
16059
|
+
"example": 45,
|
|
16060
|
+
"type": "integer"
|
|
16061
|
+
},
|
|
16062
|
+
"created": {
|
|
16063
|
+
"example": "2024-04-19T00:00:00Z",
|
|
16064
|
+
"type": "string"
|
|
16065
|
+
},
|
|
16066
|
+
"created_utc": {
|
|
16067
|
+
"example": 1713484800,
|
|
16068
|
+
"type": "integer"
|
|
16069
|
+
},
|
|
16070
|
+
"domain": {
|
|
16071
|
+
"example": "self.OpenAI",
|
|
16072
|
+
"type": "string"
|
|
16073
|
+
},
|
|
16074
|
+
"flair": {
|
|
16075
|
+
"example": "Discussion",
|
|
16076
|
+
"type": "string"
|
|
16077
|
+
},
|
|
16078
|
+
"id": {
|
|
16079
|
+
"example": "1abcxyz",
|
|
16080
|
+
"type": "string"
|
|
16081
|
+
},
|
|
16082
|
+
"is_self": {
|
|
16083
|
+
"type": "boolean"
|
|
16084
|
+
},
|
|
16085
|
+
"is_video": {
|
|
16086
|
+
"type": "boolean"
|
|
16087
|
+
},
|
|
16088
|
+
"locked": {
|
|
16089
|
+
"type": "boolean"
|
|
16090
|
+
},
|
|
16091
|
+
"name": {
|
|
16092
|
+
"example": "t3_1abcxyz",
|
|
16093
|
+
"type": "string"
|
|
16094
|
+
},
|
|
16095
|
+
"over_18": {
|
|
16096
|
+
"type": "boolean"
|
|
16097
|
+
},
|
|
16098
|
+
"permalink": {
|
|
16099
|
+
"example": "https://www.reddit.com/r/OpenAI/comments/1abcxyz/openai_discussion_thread/",
|
|
16100
|
+
"type": "string"
|
|
16101
|
+
},
|
|
16102
|
+
"score": {
|
|
16103
|
+
"example": 123,
|
|
16104
|
+
"type": "integer"
|
|
16105
|
+
},
|
|
16106
|
+
"selftext": {
|
|
16107
|
+
"example": "Discussion body",
|
|
16108
|
+
"type": "string"
|
|
16109
|
+
},
|
|
16110
|
+
"source_feed_url": {
|
|
16111
|
+
"example": "https://www.reddit.com/r/OpenAI/.rss",
|
|
16112
|
+
"type": "string"
|
|
16113
|
+
},
|
|
16114
|
+
"stickied": {
|
|
16115
|
+
"type": "boolean"
|
|
16116
|
+
},
|
|
16117
|
+
"subreddit": {
|
|
16118
|
+
"example": "OpenAI",
|
|
16119
|
+
"type": "string"
|
|
16120
|
+
},
|
|
16121
|
+
"thumbnail": {
|
|
16122
|
+
"example": "https://b.thumbs.redditmedia.com/example.jpg",
|
|
16123
|
+
"type": "string"
|
|
16124
|
+
},
|
|
16125
|
+
"title": {
|
|
16126
|
+
"example": "OpenAI discussion thread",
|
|
16127
|
+
"type": "string"
|
|
16128
|
+
},
|
|
16129
|
+
"upvote_ratio": {
|
|
16130
|
+
"example": 0.95,
|
|
16131
|
+
"type": "number"
|
|
16132
|
+
},
|
|
16133
|
+
"url": {
|
|
16134
|
+
"example": "https://www.reddit.com/r/OpenAI/comments/1abcxyz/openai_discussion_thread/",
|
|
16135
|
+
"type": "string"
|
|
16136
|
+
}
|
|
16137
|
+
},
|
|
16138
|
+
"type": "object"
|
|
16139
|
+
},
|
|
16140
|
+
"reddit.PostResponse": {
|
|
16141
|
+
"properties": {
|
|
16142
|
+
"post": {
|
|
16143
|
+
"$ref": "#/definitions/reddit.Post"
|
|
16144
|
+
},
|
|
16145
|
+
"source": {
|
|
16146
|
+
"$ref": "#/definitions/reddit.SourceDetail"
|
|
16147
|
+
}
|
|
16148
|
+
},
|
|
16149
|
+
"type": "object"
|
|
16150
|
+
},
|
|
16151
|
+
"reddit.SearchResponse": {
|
|
16152
|
+
"properties": {
|
|
16153
|
+
"pagination": {
|
|
16154
|
+
"$ref": "#/definitions/reddit.Pagination"
|
|
16155
|
+
},
|
|
16156
|
+
"posts": {
|
|
16157
|
+
"items": {
|
|
16158
|
+
"$ref": "#/definitions/reddit.Post"
|
|
16159
|
+
},
|
|
16160
|
+
"type": "array"
|
|
16161
|
+
},
|
|
16162
|
+
"query": {
|
|
16163
|
+
"example": "openai",
|
|
16164
|
+
"type": "string"
|
|
16165
|
+
},
|
|
16166
|
+
"sort": {
|
|
16167
|
+
"example": "relevance",
|
|
16168
|
+
"type": "string"
|
|
16169
|
+
},
|
|
16170
|
+
"source": {
|
|
16171
|
+
"$ref": "#/definitions/reddit.SourceDetail"
|
|
16172
|
+
},
|
|
16173
|
+
"subreddit": {
|
|
16174
|
+
"example": "OpenAI",
|
|
16175
|
+
"type": "string"
|
|
16176
|
+
},
|
|
16177
|
+
"time": {
|
|
16178
|
+
"example": "week",
|
|
16179
|
+
"type": "string"
|
|
16180
|
+
}
|
|
16181
|
+
},
|
|
16182
|
+
"type": "object"
|
|
16183
|
+
},
|
|
16184
|
+
"reddit.SourceDetail": {
|
|
16185
|
+
"properties": {
|
|
16186
|
+
"type": {
|
|
16187
|
+
"example": "rss",
|
|
16188
|
+
"type": "string"
|
|
16189
|
+
},
|
|
16190
|
+
"url": {
|
|
16191
|
+
"example": "https://www.reddit.com/r/OpenAI/.rss",
|
|
16192
|
+
"type": "string"
|
|
16193
|
+
}
|
|
16194
|
+
},
|
|
16195
|
+
"type": "object"
|
|
16196
|
+
},
|
|
16197
|
+
"reddit.SubredditPostsResponse": {
|
|
16198
|
+
"properties": {
|
|
16199
|
+
"pagination": {
|
|
16200
|
+
"$ref": "#/definitions/reddit.Pagination"
|
|
16201
|
+
},
|
|
16202
|
+
"posts": {
|
|
16203
|
+
"items": {
|
|
16204
|
+
"$ref": "#/definitions/reddit.Post"
|
|
16205
|
+
},
|
|
16206
|
+
"type": "array"
|
|
16207
|
+
},
|
|
16208
|
+
"sort": {
|
|
16209
|
+
"example": "hot",
|
|
16210
|
+
"type": "string"
|
|
16211
|
+
},
|
|
16212
|
+
"source": {
|
|
16213
|
+
"$ref": "#/definitions/reddit.SourceDetail"
|
|
16214
|
+
},
|
|
16215
|
+
"subreddit": {
|
|
16216
|
+
"example": "OpenAI",
|
|
16217
|
+
"type": "string"
|
|
16218
|
+
},
|
|
16219
|
+
"time": {
|
|
16220
|
+
"example": "week",
|
|
16221
|
+
"type": "string"
|
|
16222
|
+
}
|
|
16223
|
+
},
|
|
16224
|
+
"type": "object"
|
|
16225
|
+
},
|
|
16226
|
+
"reddit.commentsResponseDoc": {
|
|
16227
|
+
"properties": {
|
|
16228
|
+
"code": {
|
|
16229
|
+
"example": 200,
|
|
16230
|
+
"type": "integer"
|
|
16231
|
+
},
|
|
16232
|
+
"data": {
|
|
16233
|
+
"$ref": "#/definitions/reddit.CommentsResponse"
|
|
16234
|
+
},
|
|
16235
|
+
"msg": {
|
|
16236
|
+
"example": "OK",
|
|
16237
|
+
"type": "string"
|
|
16238
|
+
}
|
|
16239
|
+
},
|
|
16240
|
+
"type": "object"
|
|
16241
|
+
},
|
|
16242
|
+
"reddit.postResponseDoc": {
|
|
16243
|
+
"properties": {
|
|
16244
|
+
"code": {
|
|
16245
|
+
"example": 200,
|
|
16246
|
+
"type": "integer"
|
|
16247
|
+
},
|
|
16248
|
+
"data": {
|
|
16249
|
+
"$ref": "#/definitions/reddit.PostResponse"
|
|
16250
|
+
},
|
|
16251
|
+
"msg": {
|
|
16252
|
+
"example": "OK",
|
|
16253
|
+
"type": "string"
|
|
16254
|
+
}
|
|
16255
|
+
},
|
|
16256
|
+
"type": "object"
|
|
16257
|
+
},
|
|
16258
|
+
"reddit.searchResponseDoc": {
|
|
16259
|
+
"properties": {
|
|
16260
|
+
"code": {
|
|
16261
|
+
"example": 200,
|
|
16262
|
+
"type": "integer"
|
|
16263
|
+
},
|
|
16264
|
+
"data": {
|
|
16265
|
+
"$ref": "#/definitions/reddit.SearchResponse"
|
|
16266
|
+
},
|
|
16267
|
+
"msg": {
|
|
16268
|
+
"example": "OK",
|
|
16269
|
+
"type": "string"
|
|
16270
|
+
}
|
|
16271
|
+
},
|
|
16272
|
+
"type": "object"
|
|
16273
|
+
},
|
|
16274
|
+
"reddit.subredditPostsResponseDoc": {
|
|
16275
|
+
"properties": {
|
|
16276
|
+
"code": {
|
|
16277
|
+
"example": 200,
|
|
16278
|
+
"type": "integer"
|
|
16279
|
+
},
|
|
16280
|
+
"data": {
|
|
16281
|
+
"$ref": "#/definitions/reddit.SubredditPostsResponse"
|
|
16282
|
+
},
|
|
16283
|
+
"msg": {
|
|
16284
|
+
"example": "OK",
|
|
16285
|
+
"type": "string"
|
|
16286
|
+
}
|
|
16287
|
+
},
|
|
16288
|
+
"type": "object"
|
|
16289
|
+
},
|
|
15543
16290
|
"referrals.referralAttributionDoc": {
|
|
15544
16291
|
"properties": {
|
|
15545
16292
|
"campaign": {
|
|
@@ -25991,6 +26738,38 @@
|
|
|
25991
26738
|
},
|
|
25992
26739
|
"type": "object"
|
|
25993
26740
|
},
|
|
26741
|
+
"yahoofinance.LookupResponse": {
|
|
26742
|
+
"properties": {
|
|
26743
|
+
"count": {
|
|
26744
|
+
"example": 10,
|
|
26745
|
+
"type": "integer"
|
|
26746
|
+
},
|
|
26747
|
+
"documents": {
|
|
26748
|
+
"items": {
|
|
26749
|
+
"additionalProperties": {},
|
|
26750
|
+
"type": "object"
|
|
26751
|
+
},
|
|
26752
|
+
"type": "array"
|
|
26753
|
+
},
|
|
26754
|
+
"query": {
|
|
26755
|
+
"example": "apple",
|
|
26756
|
+
"type": "string"
|
|
26757
|
+
},
|
|
26758
|
+
"start": {
|
|
26759
|
+
"example": 0,
|
|
26760
|
+
"type": "integer"
|
|
26761
|
+
},
|
|
26762
|
+
"total": {
|
|
26763
|
+
"example": 10,
|
|
26764
|
+
"type": "integer"
|
|
26765
|
+
},
|
|
26766
|
+
"type": {
|
|
26767
|
+
"example": "all",
|
|
26768
|
+
"type": "string"
|
|
26769
|
+
}
|
|
26770
|
+
},
|
|
26771
|
+
"type": "object"
|
|
26772
|
+
},
|
|
25994
26773
|
"yahoofinance.MarketStatusResponse": {
|
|
25995
26774
|
"properties": {
|
|
25996
26775
|
"market": {
|
|
@@ -26573,6 +27352,22 @@
|
|
|
26573
27352
|
},
|
|
26574
27353
|
"type": "object"
|
|
26575
27354
|
},
|
|
27355
|
+
"yahoofinance.lookupResponseDoc": {
|
|
27356
|
+
"properties": {
|
|
27357
|
+
"code": {
|
|
27358
|
+
"example": 200,
|
|
27359
|
+
"type": "integer"
|
|
27360
|
+
},
|
|
27361
|
+
"data": {
|
|
27362
|
+
"$ref": "#/definitions/yahoofinance.LookupResponse"
|
|
27363
|
+
},
|
|
27364
|
+
"msg": {
|
|
27365
|
+
"example": "OK",
|
|
27366
|
+
"type": "string"
|
|
27367
|
+
}
|
|
27368
|
+
},
|
|
27369
|
+
"type": "object"
|
|
27370
|
+
},
|
|
26576
27371
|
"yahoofinance.marketStatusResponseDoc": {
|
|
26577
27372
|
"properties": {
|
|
26578
27373
|
"code": {
|
|
@@ -30994,22 +31789,122 @@
|
|
|
30994
31789
|
"ApiKeyAuth": []
|
|
30995
31790
|
}
|
|
30996
31791
|
],
|
|
30997
|
-
"summary": "Search Bing news results",
|
|
31792
|
+
"summary": "Search Bing news results",
|
|
31793
|
+
"tags": [
|
|
31794
|
+
"Bing"
|
|
31795
|
+
]
|
|
31796
|
+
}
|
|
31797
|
+
},
|
|
31798
|
+
"/bing/search": {
|
|
31799
|
+
"get": {
|
|
31800
|
+
"consumes": [
|
|
31801
|
+
"application/json"
|
|
31802
|
+
],
|
|
31803
|
+
"description": "Returns normalized Bing web search results for a query string, including organic results, optional context panel data, related queries, people-also-ask questions, news modules, video modules, and page-based pagination. Empty optional blocks are omitted from the JSON response. Locale defaults to country=us and lang=en-us. Results are fetched with the repo's Chrome-impersonated request client and return 503 when Bing serves a challenge page or unusable HTML.",
|
|
31804
|
+
"operationId": "bing-search",
|
|
31805
|
+
"parameters": [
|
|
31806
|
+
{
|
|
31807
|
+
"description": "Search query",
|
|
31808
|
+
"example": "openai",
|
|
31809
|
+
"in": "query",
|
|
31810
|
+
"name": "q",
|
|
31811
|
+
"required": true,
|
|
31812
|
+
"type": "string"
|
|
31813
|
+
},
|
|
31814
|
+
{
|
|
31815
|
+
"description": "1-based page number; defaults to 1",
|
|
31816
|
+
"example": 1,
|
|
31817
|
+
"in": "query",
|
|
31818
|
+
"minimum": 1,
|
|
31819
|
+
"name": "page",
|
|
31820
|
+
"type": "integer"
|
|
31821
|
+
},
|
|
31822
|
+
{
|
|
31823
|
+
"description": "Results per page; defaults to 10, clamped to 1..50",
|
|
31824
|
+
"example": 10,
|
|
31825
|
+
"in": "query",
|
|
31826
|
+
"maximum": 50,
|
|
31827
|
+
"minimum": 1,
|
|
31828
|
+
"name": "count",
|
|
31829
|
+
"type": "integer"
|
|
31830
|
+
},
|
|
31831
|
+
{
|
|
31832
|
+
"description": "Two-letter country code; defaults to us",
|
|
31833
|
+
"example": "us",
|
|
31834
|
+
"in": "query",
|
|
31835
|
+
"name": "country",
|
|
31836
|
+
"type": "string"
|
|
31837
|
+
},
|
|
31838
|
+
{
|
|
31839
|
+
"description": "Bing UI language; defaults to en-us",
|
|
31840
|
+
"example": "en-us",
|
|
31841
|
+
"in": "query",
|
|
31842
|
+
"name": "lang",
|
|
31843
|
+
"type": "string"
|
|
31844
|
+
}
|
|
31845
|
+
],
|
|
31846
|
+
"produces": [
|
|
31847
|
+
"application/json"
|
|
31848
|
+
],
|
|
31849
|
+
"responses": {
|
|
31850
|
+
"200": {
|
|
31851
|
+
"description": "OK",
|
|
31852
|
+
"schema": {
|
|
31853
|
+
"$ref": "#/definitions/bing.searchResponseDoc"
|
|
31854
|
+
}
|
|
31855
|
+
},
|
|
31856
|
+
"400": {
|
|
31857
|
+
"description": "Missing or invalid query parameters",
|
|
31858
|
+
"schema": {
|
|
31859
|
+
"$ref": "#/definitions/app.Response"
|
|
31860
|
+
}
|
|
31861
|
+
},
|
|
31862
|
+
"404": {
|
|
31863
|
+
"description": "No results found",
|
|
31864
|
+
"schema": {
|
|
31865
|
+
"$ref": "#/definitions/app.Response"
|
|
31866
|
+
}
|
|
31867
|
+
},
|
|
31868
|
+
"429": {
|
|
31869
|
+
"description": "Rate limit exceeded",
|
|
31870
|
+
"schema": {
|
|
31871
|
+
"$ref": "#/definitions/app.Response"
|
|
31872
|
+
}
|
|
31873
|
+
},
|
|
31874
|
+
"500": {
|
|
31875
|
+
"description": "Internal server error",
|
|
31876
|
+
"schema": {
|
|
31877
|
+
"$ref": "#/definitions/app.Response"
|
|
31878
|
+
}
|
|
31879
|
+
},
|
|
31880
|
+
"503": {
|
|
31881
|
+
"description": "Bing upstream request failed",
|
|
31882
|
+
"schema": {
|
|
31883
|
+
"$ref": "#/definitions/app.Response"
|
|
31884
|
+
}
|
|
31885
|
+
}
|
|
31886
|
+
},
|
|
31887
|
+
"security": [
|
|
31888
|
+
{
|
|
31889
|
+
"ApiKeyAuth": []
|
|
31890
|
+
}
|
|
31891
|
+
],
|
|
31892
|
+
"summary": "Search Bing web results",
|
|
30998
31893
|
"tags": [
|
|
30999
31894
|
"Bing"
|
|
31000
31895
|
]
|
|
31001
31896
|
}
|
|
31002
31897
|
},
|
|
31003
|
-
"/bing/
|
|
31898
|
+
"/bing/suggest": {
|
|
31004
31899
|
"get": {
|
|
31005
31900
|
"consumes": [
|
|
31006
31901
|
"application/json"
|
|
31007
31902
|
],
|
|
31008
|
-
"description": "Returns
|
|
31009
|
-
"operationId": "bing-
|
|
31903
|
+
"description": "Returns Bing autosuggest query completions for a query prefix. Locale defaults to country=us and lang=en-us. Suggestions are fetched from public Bing suggest endpoints and trimmed to the requested count.",
|
|
31904
|
+
"operationId": "bing-suggest",
|
|
31010
31905
|
"parameters": [
|
|
31011
31906
|
{
|
|
31012
|
-
"description": "Search query",
|
|
31907
|
+
"description": "Search query prefix",
|
|
31013
31908
|
"example": "openai",
|
|
31014
31909
|
"in": "query",
|
|
31015
31910
|
"name": "q",
|
|
@@ -31017,18 +31912,10 @@
|
|
|
31017
31912
|
"type": "string"
|
|
31018
31913
|
},
|
|
31019
31914
|
{
|
|
31020
|
-
"description": "
|
|
31021
|
-
"example": 1,
|
|
31022
|
-
"in": "query",
|
|
31023
|
-
"minimum": 1,
|
|
31024
|
-
"name": "page",
|
|
31025
|
-
"type": "integer"
|
|
31026
|
-
},
|
|
31027
|
-
{
|
|
31028
|
-
"description": "Results per page; defaults to 10, clamped to 1..50",
|
|
31915
|
+
"description": "Suggestions to return; defaults to 10, clamped to 1..12",
|
|
31029
31916
|
"example": 10,
|
|
31030
31917
|
"in": "query",
|
|
31031
|
-
"maximum":
|
|
31918
|
+
"maximum": 12,
|
|
31032
31919
|
"minimum": 1,
|
|
31033
31920
|
"name": "count",
|
|
31034
31921
|
"type": "integer"
|
|
@@ -31055,7 +31942,7 @@
|
|
|
31055
31942
|
"200": {
|
|
31056
31943
|
"description": "OK",
|
|
31057
31944
|
"schema": {
|
|
31058
|
-
"$ref": "#/definitions/bing.
|
|
31945
|
+
"$ref": "#/definitions/bing.suggestResponseDoc"
|
|
31059
31946
|
}
|
|
31060
31947
|
},
|
|
31061
31948
|
"400": {
|
|
@@ -31064,12 +31951,6 @@
|
|
|
31064
31951
|
"$ref": "#/definitions/app.Response"
|
|
31065
31952
|
}
|
|
31066
31953
|
},
|
|
31067
|
-
"404": {
|
|
31068
|
-
"description": "No results found",
|
|
31069
|
-
"schema": {
|
|
31070
|
-
"$ref": "#/definitions/app.Response"
|
|
31071
|
-
}
|
|
31072
|
-
},
|
|
31073
31954
|
"429": {
|
|
31074
31955
|
"description": "Rate limit exceeded",
|
|
31075
31956
|
"schema": {
|
|
@@ -31094,22 +31975,22 @@
|
|
|
31094
31975
|
"ApiKeyAuth": []
|
|
31095
31976
|
}
|
|
31096
31977
|
],
|
|
31097
|
-
"summary": "
|
|
31978
|
+
"summary": "Suggest Bing search queries",
|
|
31098
31979
|
"tags": [
|
|
31099
31980
|
"Bing"
|
|
31100
31981
|
]
|
|
31101
31982
|
}
|
|
31102
31983
|
},
|
|
31103
|
-
"/bing/
|
|
31984
|
+
"/bing/videos": {
|
|
31104
31985
|
"get": {
|
|
31105
31986
|
"consumes": [
|
|
31106
31987
|
"application/json"
|
|
31107
31988
|
],
|
|
31108
|
-
"description": "Returns Bing
|
|
31109
|
-
"operationId": "bing-
|
|
31989
|
+
"description": "Returns normalized Bing video search results for a query string. Locale defaults to country=us and lang=en-us. Results are fetched from public Bing video HTML/async pages and return 503 when Bing serves a challenge page or unusable HTML.",
|
|
31990
|
+
"operationId": "bing-videos",
|
|
31110
31991
|
"parameters": [
|
|
31111
31992
|
{
|
|
31112
|
-
"description": "Search query
|
|
31993
|
+
"description": "Search query",
|
|
31113
31994
|
"example": "openai",
|
|
31114
31995
|
"in": "query",
|
|
31115
31996
|
"name": "q",
|
|
@@ -31117,10 +31998,18 @@
|
|
|
31117
31998
|
"type": "string"
|
|
31118
31999
|
},
|
|
31119
32000
|
{
|
|
31120
|
-
"description": "
|
|
32001
|
+
"description": "1-based page number; defaults to 1",
|
|
32002
|
+
"example": 1,
|
|
32003
|
+
"in": "query",
|
|
32004
|
+
"minimum": 1,
|
|
32005
|
+
"name": "page",
|
|
32006
|
+
"type": "integer"
|
|
32007
|
+
},
|
|
32008
|
+
{
|
|
32009
|
+
"description": "Results per page; defaults to 10, clamped to 1..50",
|
|
31121
32010
|
"example": 10,
|
|
31122
32011
|
"in": "query",
|
|
31123
|
-
"maximum":
|
|
32012
|
+
"maximum": 50,
|
|
31124
32013
|
"minimum": 1,
|
|
31125
32014
|
"name": "count",
|
|
31126
32015
|
"type": "integer"
|
|
@@ -31147,7 +32036,7 @@
|
|
|
31147
32036
|
"200": {
|
|
31148
32037
|
"description": "OK",
|
|
31149
32038
|
"schema": {
|
|
31150
|
-
"$ref": "#/definitions/bing.
|
|
32039
|
+
"$ref": "#/definitions/bing.videosResponseDoc"
|
|
31151
32040
|
}
|
|
31152
32041
|
},
|
|
31153
32042
|
"400": {
|
|
@@ -31156,6 +32045,12 @@
|
|
|
31156
32045
|
"$ref": "#/definitions/app.Response"
|
|
31157
32046
|
}
|
|
31158
32047
|
},
|
|
32048
|
+
"404": {
|
|
32049
|
+
"description": "No results found",
|
|
32050
|
+
"schema": {
|
|
32051
|
+
"$ref": "#/definitions/app.Response"
|
|
32052
|
+
}
|
|
32053
|
+
},
|
|
31159
32054
|
"429": {
|
|
31160
32055
|
"description": "Rate limit exceeded",
|
|
31161
32056
|
"schema": {
|
|
@@ -31180,58 +32075,50 @@
|
|
|
31180
32075
|
"ApiKeyAuth": []
|
|
31181
32076
|
}
|
|
31182
32077
|
],
|
|
31183
|
-
"summary": "
|
|
32078
|
+
"summary": "Search Bing video results",
|
|
31184
32079
|
"tags": [
|
|
31185
32080
|
"Bing"
|
|
31186
32081
|
]
|
|
31187
32082
|
}
|
|
31188
32083
|
},
|
|
31189
|
-
"/
|
|
32084
|
+
"/brand/retrieve": {
|
|
31190
32085
|
"get": {
|
|
31191
32086
|
"consumes": [
|
|
31192
32087
|
"application/json"
|
|
31193
32088
|
],
|
|
31194
|
-
"description": "
|
|
31195
|
-
"operationId": "
|
|
32089
|
+
"description": "Fetches a domain's homepage and extracts a normalized brand profile (title, description, colors, logos, backdrops, socials, links, and any schema.org organization data). Enrichment-only fields that are not present in the page markup are returned as null.",
|
|
32090
|
+
"operationId": "brand-retrieve",
|
|
31196
32091
|
"parameters": [
|
|
31197
32092
|
{
|
|
31198
|
-
"description": "
|
|
31199
|
-
"example": "openai",
|
|
32093
|
+
"description": "Domain to retrieve brand data for, e.g. context.dev",
|
|
31200
32094
|
"in": "query",
|
|
31201
|
-
"name": "
|
|
32095
|
+
"name": "domain",
|
|
31202
32096
|
"required": true,
|
|
31203
32097
|
"type": "string"
|
|
31204
32098
|
},
|
|
31205
32099
|
{
|
|
31206
|
-
"description": "
|
|
31207
|
-
"example": 1,
|
|
32100
|
+
"description": "Accepted for compatibility; not applied in HTML-only mode",
|
|
31208
32101
|
"in": "query",
|
|
31209
|
-
"
|
|
31210
|
-
"
|
|
31211
|
-
"type": "integer"
|
|
32102
|
+
"name": "force_language",
|
|
32103
|
+
"type": "string"
|
|
31212
32104
|
},
|
|
31213
32105
|
{
|
|
31214
|
-
"description": "
|
|
31215
|
-
"example": 10,
|
|
32106
|
+
"description": "Optimize for speed by skipping schema.org and footer-link extraction",
|
|
31216
32107
|
"in": "query",
|
|
31217
|
-
"
|
|
31218
|
-
"
|
|
31219
|
-
"name": "count",
|
|
31220
|
-
"type": "integer"
|
|
32108
|
+
"name": "maxSpeed",
|
|
32109
|
+
"type": "boolean"
|
|
31221
32110
|
},
|
|
31222
32111
|
{
|
|
31223
|
-
"description": "
|
|
31224
|
-
"example": "us",
|
|
32112
|
+
"description": "Cache freshness window in milliseconds, clamps to 1 day..1 year",
|
|
31225
32113
|
"in": "query",
|
|
31226
|
-
"name": "
|
|
31227
|
-
"type": "
|
|
32114
|
+
"name": "maxAgeMs",
|
|
32115
|
+
"type": "integer"
|
|
31228
32116
|
},
|
|
31229
32117
|
{
|
|
31230
|
-
"description": "
|
|
31231
|
-
"example": "en-us",
|
|
32118
|
+
"description": "Upstream fetch timeout in milliseconds, clamps to 1000..300000",
|
|
31232
32119
|
"in": "query",
|
|
31233
|
-
"name": "
|
|
31234
|
-
"type": "
|
|
32120
|
+
"name": "timeoutMS",
|
|
32121
|
+
"type": "integer"
|
|
31235
32122
|
}
|
|
31236
32123
|
],
|
|
31237
32124
|
"produces": [
|
|
@@ -31241,35 +32128,35 @@
|
|
|
31241
32128
|
"200": {
|
|
31242
32129
|
"description": "OK",
|
|
31243
32130
|
"schema": {
|
|
31244
|
-
"$ref": "#/definitions/
|
|
32131
|
+
"$ref": "#/definitions/brand.retrieveResponseDoc"
|
|
31245
32132
|
}
|
|
31246
32133
|
},
|
|
31247
32134
|
"400": {
|
|
31248
|
-
"description": "
|
|
32135
|
+
"description": "Bad Request",
|
|
31249
32136
|
"schema": {
|
|
31250
32137
|
"$ref": "#/definitions/app.Response"
|
|
31251
32138
|
}
|
|
31252
32139
|
},
|
|
31253
32140
|
"404": {
|
|
31254
|
-
"description": "
|
|
32141
|
+
"description": "Not Found",
|
|
31255
32142
|
"schema": {
|
|
31256
32143
|
"$ref": "#/definitions/app.Response"
|
|
31257
32144
|
}
|
|
31258
32145
|
},
|
|
31259
|
-
"
|
|
31260
|
-
"description": "
|
|
32146
|
+
"408": {
|
|
32147
|
+
"description": "Request Timeout",
|
|
31261
32148
|
"schema": {
|
|
31262
32149
|
"$ref": "#/definitions/app.Response"
|
|
31263
32150
|
}
|
|
31264
32151
|
},
|
|
31265
|
-
"
|
|
31266
|
-
"description": "
|
|
32152
|
+
"429": {
|
|
32153
|
+
"description": "Too Many Requests",
|
|
31267
32154
|
"schema": {
|
|
31268
32155
|
"$ref": "#/definitions/app.Response"
|
|
31269
32156
|
}
|
|
31270
32157
|
},
|
|
31271
32158
|
"503": {
|
|
31272
|
-
"description": "
|
|
32159
|
+
"description": "Service Unavailable",
|
|
31273
32160
|
"schema": {
|
|
31274
32161
|
"$ref": "#/definitions/app.Response"
|
|
31275
32162
|
}
|
|
@@ -31280,9 +32167,9 @@
|
|
|
31280
32167
|
"ApiKeyAuth": []
|
|
31281
32168
|
}
|
|
31282
32169
|
],
|
|
31283
|
-
"summary": "
|
|
32170
|
+
"summary": "Retrieve brand data by domain",
|
|
31284
32171
|
"tags": [
|
|
31285
|
-
"
|
|
32172
|
+
"Brand"
|
|
31286
32173
|
]
|
|
31287
32174
|
}
|
|
31288
32175
|
},
|
|
@@ -37130,6 +38017,100 @@
|
|
|
37130
38017
|
]
|
|
37131
38018
|
}
|
|
37132
38019
|
},
|
|
38020
|
+
"/google/news": {
|
|
38021
|
+
"get": {
|
|
38022
|
+
"consumes": [
|
|
38023
|
+
"application/json"
|
|
38024
|
+
],
|
|
38025
|
+
"description": "Returns normalized Google News vertical results (title, source, link, age) parsed from the public Google News results page. Locale defaults to country=us and lang=en. Returns 503 when Google serves a challenge page or unusable HTML.",
|
|
38026
|
+
"operationId": "google-news",
|
|
38027
|
+
"parameters": [
|
|
38028
|
+
{
|
|
38029
|
+
"description": "Search query",
|
|
38030
|
+
"example": "openai",
|
|
38031
|
+
"in": "query",
|
|
38032
|
+
"name": "q",
|
|
38033
|
+
"required": true,
|
|
38034
|
+
"type": "string"
|
|
38035
|
+
},
|
|
38036
|
+
{
|
|
38037
|
+
"description": "1-based page number; defaults to 1",
|
|
38038
|
+
"example": 1,
|
|
38039
|
+
"in": "query",
|
|
38040
|
+
"minimum": 1,
|
|
38041
|
+
"name": "page",
|
|
38042
|
+
"type": "integer"
|
|
38043
|
+
},
|
|
38044
|
+
{
|
|
38045
|
+
"description": "Results per page; defaults to 10, clamped to 1..50",
|
|
38046
|
+
"example": 10,
|
|
38047
|
+
"in": "query",
|
|
38048
|
+
"maximum": 50,
|
|
38049
|
+
"minimum": 1,
|
|
38050
|
+
"name": "count",
|
|
38051
|
+
"type": "integer"
|
|
38052
|
+
},
|
|
38053
|
+
{
|
|
38054
|
+
"description": "Two-letter country code; defaults to us",
|
|
38055
|
+
"example": "us",
|
|
38056
|
+
"in": "query",
|
|
38057
|
+
"name": "country",
|
|
38058
|
+
"type": "string"
|
|
38059
|
+
},
|
|
38060
|
+
{
|
|
38061
|
+
"description": "Google UI language; defaults to en",
|
|
38062
|
+
"example": "en",
|
|
38063
|
+
"in": "query",
|
|
38064
|
+
"name": "lang",
|
|
38065
|
+
"type": "string"
|
|
38066
|
+
}
|
|
38067
|
+
],
|
|
38068
|
+
"produces": [
|
|
38069
|
+
"application/json"
|
|
38070
|
+
],
|
|
38071
|
+
"responses": {
|
|
38072
|
+
"200": {
|
|
38073
|
+
"description": "OK",
|
|
38074
|
+
"schema": {
|
|
38075
|
+
"$ref": "#/definitions/google.newsResponseDoc"
|
|
38076
|
+
}
|
|
38077
|
+
},
|
|
38078
|
+
"400": {
|
|
38079
|
+
"description": "Missing or invalid query parameters",
|
|
38080
|
+
"schema": {
|
|
38081
|
+
"$ref": "#/definitions/app.Response"
|
|
38082
|
+
}
|
|
38083
|
+
},
|
|
38084
|
+
"429": {
|
|
38085
|
+
"description": "Rate limit exceeded",
|
|
38086
|
+
"schema": {
|
|
38087
|
+
"$ref": "#/definitions/app.Response"
|
|
38088
|
+
}
|
|
38089
|
+
},
|
|
38090
|
+
"500": {
|
|
38091
|
+
"description": "Internal server error",
|
|
38092
|
+
"schema": {
|
|
38093
|
+
"$ref": "#/definitions/app.Response"
|
|
38094
|
+
}
|
|
38095
|
+
},
|
|
38096
|
+
"503": {
|
|
38097
|
+
"description": "Google upstream request failed",
|
|
38098
|
+
"schema": {
|
|
38099
|
+
"$ref": "#/definitions/app.Response"
|
|
38100
|
+
}
|
|
38101
|
+
}
|
|
38102
|
+
},
|
|
38103
|
+
"security": [
|
|
38104
|
+
{
|
|
38105
|
+
"ApiKeyAuth": []
|
|
38106
|
+
}
|
|
38107
|
+
],
|
|
38108
|
+
"summary": "Search Google News",
|
|
38109
|
+
"tags": [
|
|
38110
|
+
"Google"
|
|
38111
|
+
]
|
|
38112
|
+
}
|
|
38113
|
+
},
|
|
37133
38114
|
"/google/search": {
|
|
37134
38115
|
"post": {
|
|
37135
38116
|
"consumes": [
|
|
@@ -38192,28 +39173,122 @@
|
|
|
38192
39173
|
"ApiKeyAuth": []
|
|
38193
39174
|
}
|
|
38194
39175
|
],
|
|
38195
|
-
"summary": "Google Trends trending now data",
|
|
39176
|
+
"summary": "Google Trends trending now data",
|
|
39177
|
+
"tags": [
|
|
39178
|
+
"Google"
|
|
39179
|
+
]
|
|
39180
|
+
}
|
|
39181
|
+
},
|
|
39182
|
+
"/google/trends/trending/detail": {
|
|
39183
|
+
"post": {
|
|
39184
|
+
"consumes": [
|
|
39185
|
+
"application/json"
|
|
39186
|
+
],
|
|
39187
|
+
"description": "Returns the Explore detail widgets for a single trending term, including interest over time, regional interest, top/rising related queries, and related topics when Google returns them.",
|
|
39188
|
+
"operationId": "google-trends-trending-detail",
|
|
39189
|
+
"parameters": [
|
|
39190
|
+
{
|
|
39191
|
+
"description": "Trending detail request",
|
|
39192
|
+
"in": "body",
|
|
39193
|
+
"name": "request",
|
|
39194
|
+
"required": true,
|
|
39195
|
+
"schema": {
|
|
39196
|
+
"$ref": "#/definitions/trends.TrendingDetailRequest"
|
|
39197
|
+
}
|
|
39198
|
+
}
|
|
39199
|
+
],
|
|
39200
|
+
"produces": [
|
|
39201
|
+
"application/json"
|
|
39202
|
+
],
|
|
39203
|
+
"responses": {
|
|
39204
|
+
"200": {
|
|
39205
|
+
"description": "OK",
|
|
39206
|
+
"schema": {
|
|
39207
|
+
"$ref": "#/definitions/trends.exploreResponseDoc"
|
|
39208
|
+
}
|
|
39209
|
+
},
|
|
39210
|
+
"400": {
|
|
39211
|
+
"description": "Invalid input",
|
|
39212
|
+
"schema": {
|
|
39213
|
+
"$ref": "#/definitions/app.Response"
|
|
39214
|
+
}
|
|
39215
|
+
},
|
|
39216
|
+
"429": {
|
|
39217
|
+
"description": "Rate limit exceeded",
|
|
39218
|
+
"schema": {
|
|
39219
|
+
"$ref": "#/definitions/app.Response"
|
|
39220
|
+
}
|
|
39221
|
+
},
|
|
39222
|
+
"500": {
|
|
39223
|
+
"description": "Internal server error",
|
|
39224
|
+
"schema": {
|
|
39225
|
+
"$ref": "#/definitions/app.Response"
|
|
39226
|
+
}
|
|
39227
|
+
},
|
|
39228
|
+
"503": {
|
|
39229
|
+
"description": "Google Trends upstream request failed",
|
|
39230
|
+
"schema": {
|
|
39231
|
+
"$ref": "#/definitions/app.Response"
|
|
39232
|
+
}
|
|
39233
|
+
}
|
|
39234
|
+
},
|
|
39235
|
+
"security": [
|
|
39236
|
+
{
|
|
39237
|
+
"ApiKeyAuth": []
|
|
39238
|
+
}
|
|
39239
|
+
],
|
|
39240
|
+
"summary": "Google Trends trending term detail",
|
|
38196
39241
|
"tags": [
|
|
38197
39242
|
"Google"
|
|
38198
39243
|
]
|
|
38199
39244
|
}
|
|
38200
39245
|
},
|
|
38201
|
-
"/google/
|
|
38202
|
-
"
|
|
39246
|
+
"/google/videos": {
|
|
39247
|
+
"get": {
|
|
38203
39248
|
"consumes": [
|
|
38204
39249
|
"application/json"
|
|
38205
39250
|
],
|
|
38206
|
-
"description": "Returns
|
|
38207
|
-
"operationId": "google-
|
|
39251
|
+
"description": "Returns normalized Google video vertical results (title, platform, link, duration, age) parsed from the public Google video results page. Locale defaults to country=us and lang=en. Returns 503 when Google serves a challenge page or unusable HTML.",
|
|
39252
|
+
"operationId": "google-videos",
|
|
38208
39253
|
"parameters": [
|
|
38209
39254
|
{
|
|
38210
|
-
"description": "
|
|
38211
|
-
"
|
|
38212
|
-
"
|
|
39255
|
+
"description": "Search query",
|
|
39256
|
+
"example": "openai",
|
|
39257
|
+
"in": "query",
|
|
39258
|
+
"name": "q",
|
|
38213
39259
|
"required": true,
|
|
38214
|
-
"
|
|
38215
|
-
|
|
38216
|
-
|
|
39260
|
+
"type": "string"
|
|
39261
|
+
},
|
|
39262
|
+
{
|
|
39263
|
+
"description": "1-based page number; defaults to 1",
|
|
39264
|
+
"example": 1,
|
|
39265
|
+
"in": "query",
|
|
39266
|
+
"minimum": 1,
|
|
39267
|
+
"name": "page",
|
|
39268
|
+
"type": "integer"
|
|
39269
|
+
},
|
|
39270
|
+
{
|
|
39271
|
+
"description": "Results per page; defaults to 10, clamped to 1..50",
|
|
39272
|
+
"example": 10,
|
|
39273
|
+
"in": "query",
|
|
39274
|
+
"maximum": 50,
|
|
39275
|
+
"minimum": 1,
|
|
39276
|
+
"name": "count",
|
|
39277
|
+
"type": "integer"
|
|
39278
|
+
},
|
|
39279
|
+
{
|
|
39280
|
+
"description": "Two-letter country code; defaults to us",
|
|
39281
|
+
"example": "us",
|
|
39282
|
+
"in": "query",
|
|
39283
|
+
"name": "country",
|
|
39284
|
+
"type": "string"
|
|
39285
|
+
},
|
|
39286
|
+
{
|
|
39287
|
+
"description": "Google UI language; defaults to en",
|
|
39288
|
+
"example": "en",
|
|
39289
|
+
"in": "query",
|
|
39290
|
+
"name": "lang",
|
|
39291
|
+
"type": "string"
|
|
38217
39292
|
}
|
|
38218
39293
|
],
|
|
38219
39294
|
"produces": [
|
|
@@ -38223,11 +39298,11 @@
|
|
|
38223
39298
|
"200": {
|
|
38224
39299
|
"description": "OK",
|
|
38225
39300
|
"schema": {
|
|
38226
|
-
"$ref": "#/definitions/
|
|
39301
|
+
"$ref": "#/definitions/google.videosResponseDoc"
|
|
38227
39302
|
}
|
|
38228
39303
|
},
|
|
38229
39304
|
"400": {
|
|
38230
|
-
"description": "
|
|
39305
|
+
"description": "Missing or invalid query parameters",
|
|
38231
39306
|
"schema": {
|
|
38232
39307
|
"$ref": "#/definitions/app.Response"
|
|
38233
39308
|
}
|
|
@@ -38245,7 +39320,7 @@
|
|
|
38245
39320
|
}
|
|
38246
39321
|
},
|
|
38247
39322
|
"503": {
|
|
38248
|
-
"description": "Google
|
|
39323
|
+
"description": "Google upstream request failed",
|
|
38249
39324
|
"schema": {
|
|
38250
39325
|
"$ref": "#/definitions/app.Response"
|
|
38251
39326
|
}
|
|
@@ -38256,7 +39331,7 @@
|
|
|
38256
39331
|
"ApiKeyAuth": []
|
|
38257
39332
|
}
|
|
38258
39333
|
],
|
|
38259
|
-
"summary": "Google
|
|
39334
|
+
"summary": "Search Google video results",
|
|
38260
39335
|
"tags": [
|
|
38261
39336
|
"Google"
|
|
38262
39337
|
]
|
|
@@ -41877,33 +42952,313 @@
|
|
|
41877
42952
|
"ApiKeyAuth": []
|
|
41878
42953
|
}
|
|
41879
42954
|
],
|
|
41880
|
-
"summary": "Retrieve Product Hunt product launches",
|
|
42955
|
+
"summary": "Retrieve Product Hunt product launches",
|
|
42956
|
+
"tags": [
|
|
42957
|
+
"ProductHunt"
|
|
42958
|
+
]
|
|
42959
|
+
}
|
|
42960
|
+
},
|
|
42961
|
+
"/producthunt/product/{id}/makers": {
|
|
42962
|
+
"get": {
|
|
42963
|
+
"consumes": [
|
|
42964
|
+
"application/json"
|
|
42965
|
+
],
|
|
42966
|
+
"description": "Returns maker items for a Product Hunt product.",
|
|
42967
|
+
"operationId": "producthunt-makers",
|
|
42968
|
+
"parameters": [
|
|
42969
|
+
{
|
|
42970
|
+
"description": "Product Hunt slug",
|
|
42971
|
+
"example": "\"clico\"",
|
|
42972
|
+
"in": "path",
|
|
42973
|
+
"name": "id",
|
|
42974
|
+
"required": true,
|
|
42975
|
+
"type": "string"
|
|
42976
|
+
},
|
|
42977
|
+
{
|
|
42978
|
+
"description": "Pagination cursor",
|
|
42979
|
+
"in": "query",
|
|
42980
|
+
"name": "cursor",
|
|
42981
|
+
"type": "string"
|
|
42982
|
+
}
|
|
42983
|
+
],
|
|
42984
|
+
"produces": [
|
|
42985
|
+
"application/json"
|
|
42986
|
+
],
|
|
42987
|
+
"responses": {
|
|
42988
|
+
"200": {
|
|
42989
|
+
"description": "Wrapped makers payload",
|
|
42990
|
+
"schema": {
|
|
42991
|
+
"$ref": "#/definitions/producthunt.makersResponseDoc"
|
|
42992
|
+
}
|
|
42993
|
+
},
|
|
42994
|
+
"400": {
|
|
42995
|
+
"description": "Missing or invalid parameters",
|
|
42996
|
+
"schema": {
|
|
42997
|
+
"$ref": "#/definitions/app.Response"
|
|
42998
|
+
}
|
|
42999
|
+
},
|
|
43000
|
+
"404": {
|
|
43001
|
+
"description": "Product not found",
|
|
43002
|
+
"schema": {
|
|
43003
|
+
"$ref": "#/definitions/app.Response"
|
|
43004
|
+
}
|
|
43005
|
+
},
|
|
43006
|
+
"429": {
|
|
43007
|
+
"description": "Rate limit exceeded",
|
|
43008
|
+
"schema": {
|
|
43009
|
+
"$ref": "#/definitions/app.Response"
|
|
43010
|
+
}
|
|
43011
|
+
},
|
|
43012
|
+
"500": {
|
|
43013
|
+
"description": "Internal server error",
|
|
43014
|
+
"schema": {
|
|
43015
|
+
"$ref": "#/definitions/app.Response"
|
|
43016
|
+
}
|
|
43017
|
+
}
|
|
43018
|
+
},
|
|
43019
|
+
"security": [
|
|
43020
|
+
{
|
|
43021
|
+
"ApiKeyAuth": []
|
|
43022
|
+
}
|
|
43023
|
+
],
|
|
43024
|
+
"summary": "Retrieve Product Hunt product makers",
|
|
43025
|
+
"tags": [
|
|
43026
|
+
"ProductHunt"
|
|
43027
|
+
]
|
|
43028
|
+
}
|
|
43029
|
+
},
|
|
43030
|
+
"/producthunt/product/{id}/reviews": {
|
|
43031
|
+
"get": {
|
|
43032
|
+
"consumes": [
|
|
43033
|
+
"application/json"
|
|
43034
|
+
],
|
|
43035
|
+
"description": "Returns detailed review items for a Product Hunt product.",
|
|
43036
|
+
"operationId": "producthunt-reviews",
|
|
43037
|
+
"parameters": [
|
|
43038
|
+
{
|
|
43039
|
+
"description": "Product Hunt slug",
|
|
43040
|
+
"example": "\"clico\"",
|
|
43041
|
+
"in": "path",
|
|
43042
|
+
"name": "id",
|
|
43043
|
+
"required": true,
|
|
43044
|
+
"type": "string"
|
|
43045
|
+
}
|
|
43046
|
+
],
|
|
43047
|
+
"produces": [
|
|
43048
|
+
"application/json"
|
|
43049
|
+
],
|
|
43050
|
+
"responses": {
|
|
43051
|
+
"200": {
|
|
43052
|
+
"description": "Wrapped detailed reviews payload",
|
|
43053
|
+
"schema": {
|
|
43054
|
+
"$ref": "#/definitions/producthunt.reviewsResponseDoc"
|
|
43055
|
+
}
|
|
43056
|
+
},
|
|
43057
|
+
"400": {
|
|
43058
|
+
"description": "Missing or invalid parameters",
|
|
43059
|
+
"schema": {
|
|
43060
|
+
"$ref": "#/definitions/app.Response"
|
|
43061
|
+
}
|
|
43062
|
+
},
|
|
43063
|
+
"404": {
|
|
43064
|
+
"description": "Product not found",
|
|
43065
|
+
"schema": {
|
|
43066
|
+
"$ref": "#/definitions/app.Response"
|
|
43067
|
+
}
|
|
43068
|
+
},
|
|
43069
|
+
"429": {
|
|
43070
|
+
"description": "Rate limit exceeded",
|
|
43071
|
+
"schema": {
|
|
43072
|
+
"$ref": "#/definitions/app.Response"
|
|
43073
|
+
}
|
|
43074
|
+
},
|
|
43075
|
+
"500": {
|
|
43076
|
+
"description": "Internal server error",
|
|
43077
|
+
"schema": {
|
|
43078
|
+
"$ref": "#/definitions/app.Response"
|
|
43079
|
+
}
|
|
43080
|
+
}
|
|
43081
|
+
},
|
|
43082
|
+
"security": [
|
|
43083
|
+
{
|
|
43084
|
+
"ApiKeyAuth": []
|
|
43085
|
+
}
|
|
43086
|
+
],
|
|
43087
|
+
"summary": "Retrieve Product Hunt product detailed reviews",
|
|
43088
|
+
"tags": [
|
|
43089
|
+
"ProductHunt"
|
|
43090
|
+
]
|
|
43091
|
+
}
|
|
43092
|
+
},
|
|
43093
|
+
"/producthunt/search": {
|
|
43094
|
+
"get": {
|
|
43095
|
+
"consumes": [
|
|
43096
|
+
"application/json"
|
|
43097
|
+
],
|
|
43098
|
+
"description": "Performs a full-text Product Hunt search and returns matching products, users, or launches.",
|
|
43099
|
+
"operationId": "producthunt-search",
|
|
43100
|
+
"parameters": [
|
|
43101
|
+
{
|
|
43102
|
+
"description": "Search keywords",
|
|
43103
|
+
"example": "\"ai\"",
|
|
43104
|
+
"in": "query",
|
|
43105
|
+
"name": "query",
|
|
43106
|
+
"required": true,
|
|
43107
|
+
"type": "string"
|
|
43108
|
+
},
|
|
43109
|
+
{
|
|
43110
|
+
"default": "product",
|
|
43111
|
+
"description": "Result type: **product** (default), **user**, or **launch**",
|
|
43112
|
+
"enum": [
|
|
43113
|
+
"product",
|
|
43114
|
+
"user",
|
|
43115
|
+
"launch"
|
|
43116
|
+
],
|
|
43117
|
+
"in": "query",
|
|
43118
|
+
"name": "type",
|
|
43119
|
+
"type": "string"
|
|
43120
|
+
},
|
|
43121
|
+
{
|
|
43122
|
+
"description": "Page number (1-based)",
|
|
43123
|
+
"example": 2,
|
|
43124
|
+
"in": "query",
|
|
43125
|
+
"minimum": 1,
|
|
43126
|
+
"name": "page",
|
|
43127
|
+
"type": "integer"
|
|
43128
|
+
},
|
|
43129
|
+
{
|
|
43130
|
+
"default": false,
|
|
43131
|
+
"description": "Launch search only: featured launches only",
|
|
43132
|
+
"in": "query",
|
|
43133
|
+
"name": "featured",
|
|
43134
|
+
"type": "boolean"
|
|
43135
|
+
},
|
|
43136
|
+
{
|
|
43137
|
+
"description": "Launch search only: comma-separated topic slugs",
|
|
43138
|
+
"example": "ai-chatbots,chrome-extensions",
|
|
43139
|
+
"in": "query",
|
|
43140
|
+
"name": "topics",
|
|
43141
|
+
"type": "string"
|
|
43142
|
+
}
|
|
43143
|
+
],
|
|
43144
|
+
"produces": [
|
|
43145
|
+
"application/json"
|
|
43146
|
+
],
|
|
43147
|
+
"responses": {
|
|
43148
|
+
"200": {
|
|
43149
|
+
"description": "Wrapped search payload (map[string]any)",
|
|
43150
|
+
"schema": {
|
|
43151
|
+
"$ref": "#/definitions/producthunt.searchResponseDoc"
|
|
43152
|
+
}
|
|
43153
|
+
},
|
|
43154
|
+
"400": {
|
|
43155
|
+
"description": "Missing or invalid parameters",
|
|
43156
|
+
"schema": {
|
|
43157
|
+
"$ref": "#/definitions/app.Response"
|
|
43158
|
+
}
|
|
43159
|
+
},
|
|
43160
|
+
"404": {
|
|
43161
|
+
"description": "No results found",
|
|
43162
|
+
"schema": {
|
|
43163
|
+
"$ref": "#/definitions/app.Response"
|
|
43164
|
+
}
|
|
43165
|
+
},
|
|
43166
|
+
"429": {
|
|
43167
|
+
"description": "Rate limit exceeded",
|
|
43168
|
+
"schema": {
|
|
43169
|
+
"$ref": "#/definitions/app.Response"
|
|
43170
|
+
}
|
|
43171
|
+
},
|
|
43172
|
+
"500": {
|
|
43173
|
+
"description": "Internal server error",
|
|
43174
|
+
"schema": {
|
|
43175
|
+
"$ref": "#/definitions/app.Response"
|
|
43176
|
+
}
|
|
43177
|
+
}
|
|
43178
|
+
},
|
|
43179
|
+
"security": [
|
|
43180
|
+
{
|
|
43181
|
+
"ApiKeyAuth": []
|
|
43182
|
+
}
|
|
43183
|
+
],
|
|
43184
|
+
"summary": "Search for products, users, or launches on Product Hunt",
|
|
41881
43185
|
"tags": [
|
|
41882
43186
|
"ProductHunt"
|
|
41883
43187
|
]
|
|
41884
43188
|
}
|
|
41885
43189
|
},
|
|
41886
|
-
"/
|
|
43190
|
+
"/ready": {
|
|
41887
43191
|
"get": {
|
|
41888
43192
|
"consumes": [
|
|
41889
43193
|
"application/json"
|
|
41890
43194
|
],
|
|
41891
|
-
"description": "Returns
|
|
41892
|
-
"operationId": "
|
|
43195
|
+
"description": "Returns process readiness and lightweight dependency health. Root `/ready` returns the same payload as a compatibility alias, while `/ping` remains the lightweight liveness endpoint.",
|
|
43196
|
+
"operationId": "ready",
|
|
43197
|
+
"produces": [
|
|
43198
|
+
"application/json"
|
|
43199
|
+
],
|
|
43200
|
+
"responses": {
|
|
43201
|
+
"200": {
|
|
43202
|
+
"description": "OK",
|
|
43203
|
+
"schema": {
|
|
43204
|
+
"$ref": "#/definitions/api.readinessResponseDoc"
|
|
43205
|
+
}
|
|
43206
|
+
},
|
|
43207
|
+
"503": {
|
|
43208
|
+
"description": "Service Unavailable",
|
|
43209
|
+
"schema": {
|
|
43210
|
+
"$ref": "#/definitions/api.readinessResponseDoc"
|
|
43211
|
+
}
|
|
43212
|
+
}
|
|
43213
|
+
},
|
|
43214
|
+
"summary": "Return API readiness",
|
|
43215
|
+
"tags": [
|
|
43216
|
+
"Meta"
|
|
43217
|
+
]
|
|
43218
|
+
}
|
|
43219
|
+
},
|
|
43220
|
+
"/reddit/comments/{id}": {
|
|
43221
|
+
"get": {
|
|
43222
|
+
"consumes": [
|
|
43223
|
+
"application/json"
|
|
43224
|
+
],
|
|
43225
|
+
"description": "Returns flat public comment entries from a Reddit post.",
|
|
43226
|
+
"operationId": "reddit-comments",
|
|
41893
43227
|
"parameters": [
|
|
41894
43228
|
{
|
|
41895
|
-
"description": "
|
|
41896
|
-
"example": "\"clico\"",
|
|
43229
|
+
"description": "Reddit post id or t3_ id",
|
|
41897
43230
|
"in": "path",
|
|
41898
43231
|
"name": "id",
|
|
41899
43232
|
"required": true,
|
|
41900
43233
|
"type": "string"
|
|
41901
43234
|
},
|
|
41902
43235
|
{
|
|
41903
|
-
"
|
|
43236
|
+
"default": "confidence",
|
|
43237
|
+
"description": "Accepted for compatibility: confidence, top, new, controversial, old, or qa. Public comment data is flat and may ignore sort.",
|
|
43238
|
+
"enum": [
|
|
43239
|
+
"confidence",
|
|
43240
|
+
"top",
|
|
43241
|
+
"new",
|
|
43242
|
+
"controversial",
|
|
43243
|
+
"old",
|
|
43244
|
+
"qa"
|
|
43245
|
+
],
|
|
41904
43246
|
"in": "query",
|
|
41905
|
-
"name": "
|
|
43247
|
+
"name": "sort",
|
|
41906
43248
|
"type": "string"
|
|
43249
|
+
},
|
|
43250
|
+
{
|
|
43251
|
+
"description": "Maximum comments returned, defaults to 25 and clamps to 100",
|
|
43252
|
+
"in": "query",
|
|
43253
|
+
"name": "limit",
|
|
43254
|
+
"type": "integer"
|
|
43255
|
+
},
|
|
43256
|
+
{
|
|
43257
|
+
"default": 3,
|
|
43258
|
+
"description": "Accepted for compatibility. Public comment data is flat and may ignore depth.",
|
|
43259
|
+
"in": "query",
|
|
43260
|
+
"name": "depth",
|
|
43261
|
+
"type": "integer"
|
|
41907
43262
|
}
|
|
41908
43263
|
],
|
|
41909
43264
|
"produces": [
|
|
@@ -41911,31 +43266,31 @@
|
|
|
41911
43266
|
],
|
|
41912
43267
|
"responses": {
|
|
41913
43268
|
"200": {
|
|
41914
|
-
"description": "
|
|
43269
|
+
"description": "OK",
|
|
41915
43270
|
"schema": {
|
|
41916
|
-
"$ref": "#/definitions/
|
|
43271
|
+
"$ref": "#/definitions/reddit.commentsResponseDoc"
|
|
41917
43272
|
}
|
|
41918
43273
|
},
|
|
41919
43274
|
"400": {
|
|
41920
|
-
"description": "
|
|
43275
|
+
"description": "Bad Request",
|
|
41921
43276
|
"schema": {
|
|
41922
43277
|
"$ref": "#/definitions/app.Response"
|
|
41923
43278
|
}
|
|
41924
43279
|
},
|
|
41925
43280
|
"404": {
|
|
41926
|
-
"description": "
|
|
43281
|
+
"description": "Not Found",
|
|
41927
43282
|
"schema": {
|
|
41928
43283
|
"$ref": "#/definitions/app.Response"
|
|
41929
43284
|
}
|
|
41930
43285
|
},
|
|
41931
43286
|
"429": {
|
|
41932
|
-
"description": "
|
|
43287
|
+
"description": "Too Many Requests",
|
|
41933
43288
|
"schema": {
|
|
41934
43289
|
"$ref": "#/definitions/app.Response"
|
|
41935
43290
|
}
|
|
41936
43291
|
},
|
|
41937
|
-
"
|
|
41938
|
-
"description": "
|
|
43292
|
+
"503": {
|
|
43293
|
+
"description": "Service Unavailable",
|
|
41939
43294
|
"schema": {
|
|
41940
43295
|
"$ref": "#/definitions/app.Response"
|
|
41941
43296
|
}
|
|
@@ -41946,23 +43301,22 @@
|
|
|
41946
43301
|
"ApiKeyAuth": []
|
|
41947
43302
|
}
|
|
41948
43303
|
],
|
|
41949
|
-
"summary": "
|
|
43304
|
+
"summary": "Get Reddit post comments",
|
|
41950
43305
|
"tags": [
|
|
41951
|
-
"
|
|
43306
|
+
"Reddit"
|
|
41952
43307
|
]
|
|
41953
43308
|
}
|
|
41954
43309
|
},
|
|
41955
|
-
"/
|
|
43310
|
+
"/reddit/post/{id}": {
|
|
41956
43311
|
"get": {
|
|
41957
43312
|
"consumes": [
|
|
41958
43313
|
"application/json"
|
|
41959
43314
|
],
|
|
41960
|
-
"description": "Returns
|
|
41961
|
-
"operationId": "
|
|
43315
|
+
"description": "Returns a normalized public Reddit post entry.",
|
|
43316
|
+
"operationId": "reddit-post",
|
|
41962
43317
|
"parameters": [
|
|
41963
43318
|
{
|
|
41964
|
-
"description": "
|
|
41965
|
-
"example": "\"clico\"",
|
|
43319
|
+
"description": "Reddit post id or t3_ id",
|
|
41966
43320
|
"in": "path",
|
|
41967
43321
|
"name": "id",
|
|
41968
43322
|
"required": true,
|
|
@@ -41974,31 +43328,31 @@
|
|
|
41974
43328
|
],
|
|
41975
43329
|
"responses": {
|
|
41976
43330
|
"200": {
|
|
41977
|
-
"description": "
|
|
43331
|
+
"description": "OK",
|
|
41978
43332
|
"schema": {
|
|
41979
|
-
"$ref": "#/definitions/
|
|
43333
|
+
"$ref": "#/definitions/reddit.postResponseDoc"
|
|
41980
43334
|
}
|
|
41981
43335
|
},
|
|
41982
43336
|
"400": {
|
|
41983
|
-
"description": "
|
|
43337
|
+
"description": "Bad Request",
|
|
41984
43338
|
"schema": {
|
|
41985
43339
|
"$ref": "#/definitions/app.Response"
|
|
41986
43340
|
}
|
|
41987
43341
|
},
|
|
41988
43342
|
"404": {
|
|
41989
|
-
"description": "
|
|
43343
|
+
"description": "Not Found",
|
|
41990
43344
|
"schema": {
|
|
41991
43345
|
"$ref": "#/definitions/app.Response"
|
|
41992
43346
|
}
|
|
41993
43347
|
},
|
|
41994
43348
|
"429": {
|
|
41995
|
-
"description": "
|
|
43349
|
+
"description": "Too Many Requests",
|
|
41996
43350
|
"schema": {
|
|
41997
43351
|
"$ref": "#/definitions/app.Response"
|
|
41998
43352
|
}
|
|
41999
43353
|
},
|
|
42000
|
-
"
|
|
42001
|
-
"description": "
|
|
43354
|
+
"503": {
|
|
43355
|
+
"description": "Service Unavailable",
|
|
42002
43356
|
"schema": {
|
|
42003
43357
|
"$ref": "#/definitions/app.Response"
|
|
42004
43358
|
}
|
|
@@ -42009,60 +43363,71 @@
|
|
|
42009
43363
|
"ApiKeyAuth": []
|
|
42010
43364
|
}
|
|
42011
43365
|
],
|
|
42012
|
-
"summary": "
|
|
43366
|
+
"summary": "Get Reddit post",
|
|
42013
43367
|
"tags": [
|
|
42014
|
-
"
|
|
43368
|
+
"Reddit"
|
|
42015
43369
|
]
|
|
42016
43370
|
}
|
|
42017
43371
|
},
|
|
42018
|
-
"/
|
|
43372
|
+
"/reddit/search": {
|
|
42019
43373
|
"get": {
|
|
42020
43374
|
"consumes": [
|
|
42021
43375
|
"application/json"
|
|
42022
43376
|
],
|
|
42023
|
-
"description": "
|
|
42024
|
-
"operationId": "
|
|
43377
|
+
"description": "Searches public Reddit content and returns normalized public post entries.",
|
|
43378
|
+
"operationId": "reddit-search",
|
|
42025
43379
|
"parameters": [
|
|
42026
43380
|
{
|
|
42027
43381
|
"description": "Search keywords",
|
|
42028
|
-
"example": "\"ai\"",
|
|
42029
43382
|
"in": "query",
|
|
42030
|
-
"name": "
|
|
43383
|
+
"name": "q",
|
|
42031
43384
|
"required": true,
|
|
42032
43385
|
"type": "string"
|
|
42033
43386
|
},
|
|
42034
43387
|
{
|
|
42035
|
-
"
|
|
42036
|
-
"
|
|
43388
|
+
"description": "Restrict search to a subreddit name, without r/",
|
|
43389
|
+
"in": "query",
|
|
43390
|
+
"name": "subreddit",
|
|
43391
|
+
"type": "string"
|
|
43392
|
+
},
|
|
43393
|
+
{
|
|
43394
|
+
"default": "relevance",
|
|
43395
|
+
"description": "Sort: relevance, hot, new, top, or comments",
|
|
42037
43396
|
"enum": [
|
|
42038
|
-
"
|
|
42039
|
-
"
|
|
42040
|
-
"
|
|
43397
|
+
"relevance",
|
|
43398
|
+
"hot",
|
|
43399
|
+
"new",
|
|
43400
|
+
"top",
|
|
43401
|
+
"comments"
|
|
42041
43402
|
],
|
|
42042
43403
|
"in": "query",
|
|
42043
|
-
"name": "
|
|
43404
|
+
"name": "sort",
|
|
42044
43405
|
"type": "string"
|
|
42045
43406
|
},
|
|
42046
43407
|
{
|
|
42047
|
-
"description": "
|
|
42048
|
-
"
|
|
43408
|
+
"description": "Time window for top/comments sorts: hour, day, week, month, year, or all",
|
|
43409
|
+
"enum": [
|
|
43410
|
+
"hour",
|
|
43411
|
+
"day",
|
|
43412
|
+
"week",
|
|
43413
|
+
"month",
|
|
43414
|
+
"year",
|
|
43415
|
+
"all"
|
|
43416
|
+
],
|
|
42049
43417
|
"in": "query",
|
|
42050
|
-
"
|
|
42051
|
-
"
|
|
42052
|
-
"type": "integer"
|
|
43418
|
+
"name": "time",
|
|
43419
|
+
"type": "string"
|
|
42053
43420
|
},
|
|
42054
43421
|
{
|
|
42055
|
-
"
|
|
42056
|
-
"description": "Launch search only: featured launches only",
|
|
43422
|
+
"description": "Maximum posts, defaults to 25 and clamps to 100",
|
|
42057
43423
|
"in": "query",
|
|
42058
|
-
"name": "
|
|
42059
|
-
"type": "
|
|
43424
|
+
"name": "limit",
|
|
43425
|
+
"type": "integer"
|
|
42060
43426
|
},
|
|
42061
43427
|
{
|
|
42062
|
-
"description": "
|
|
42063
|
-
"example": "ai-chatbots,chrome-extensions",
|
|
43428
|
+
"description": "Reddit pagination token",
|
|
42064
43429
|
"in": "query",
|
|
42065
|
-
"name": "
|
|
43430
|
+
"name": "after",
|
|
42066
43431
|
"type": "string"
|
|
42067
43432
|
}
|
|
42068
43433
|
],
|
|
@@ -42071,31 +43436,31 @@
|
|
|
42071
43436
|
],
|
|
42072
43437
|
"responses": {
|
|
42073
43438
|
"200": {
|
|
42074
|
-
"description": "
|
|
43439
|
+
"description": "OK",
|
|
42075
43440
|
"schema": {
|
|
42076
|
-
"$ref": "#/definitions/
|
|
43441
|
+
"$ref": "#/definitions/reddit.searchResponseDoc"
|
|
42077
43442
|
}
|
|
42078
43443
|
},
|
|
42079
43444
|
"400": {
|
|
42080
|
-
"description": "
|
|
43445
|
+
"description": "Bad Request",
|
|
42081
43446
|
"schema": {
|
|
42082
43447
|
"$ref": "#/definitions/app.Response"
|
|
42083
43448
|
}
|
|
42084
43449
|
},
|
|
42085
43450
|
"404": {
|
|
42086
|
-
"description": "
|
|
43451
|
+
"description": "Not Found",
|
|
42087
43452
|
"schema": {
|
|
42088
43453
|
"$ref": "#/definitions/app.Response"
|
|
42089
43454
|
}
|
|
42090
43455
|
},
|
|
42091
43456
|
"429": {
|
|
42092
|
-
"description": "
|
|
43457
|
+
"description": "Too Many Requests",
|
|
42093
43458
|
"schema": {
|
|
42094
43459
|
"$ref": "#/definitions/app.Response"
|
|
42095
43460
|
}
|
|
42096
43461
|
},
|
|
42097
|
-
"
|
|
42098
|
-
"description": "
|
|
43462
|
+
"503": {
|
|
43463
|
+
"description": "Service Unavailable",
|
|
42099
43464
|
"schema": {
|
|
42100
43465
|
"$ref": "#/definitions/app.Response"
|
|
42101
43466
|
}
|
|
@@ -42106,19 +43471,67 @@
|
|
|
42106
43471
|
"ApiKeyAuth": []
|
|
42107
43472
|
}
|
|
42108
43473
|
],
|
|
42109
|
-
"summary": "Search
|
|
43474
|
+
"summary": "Search Reddit posts",
|
|
42110
43475
|
"tags": [
|
|
42111
|
-
"
|
|
43476
|
+
"Reddit"
|
|
42112
43477
|
]
|
|
42113
43478
|
}
|
|
42114
43479
|
},
|
|
42115
|
-
"/
|
|
43480
|
+
"/reddit/subreddit/{subreddit}/posts": {
|
|
42116
43481
|
"get": {
|
|
42117
43482
|
"consumes": [
|
|
42118
43483
|
"application/json"
|
|
42119
43484
|
],
|
|
42120
|
-
"description": "Returns
|
|
42121
|
-
"operationId": "
|
|
43485
|
+
"description": "Returns normalized public posts from a subreddit.",
|
|
43486
|
+
"operationId": "reddit-subreddit-posts",
|
|
43487
|
+
"parameters": [
|
|
43488
|
+
{
|
|
43489
|
+
"description": "Subreddit name, without r/",
|
|
43490
|
+
"in": "path",
|
|
43491
|
+
"name": "subreddit",
|
|
43492
|
+
"required": true,
|
|
43493
|
+
"type": "string"
|
|
43494
|
+
},
|
|
43495
|
+
{
|
|
43496
|
+
"default": "hot",
|
|
43497
|
+
"description": "Sort: hot, new, top, or rising",
|
|
43498
|
+
"enum": [
|
|
43499
|
+
"hot",
|
|
43500
|
+
"new",
|
|
43501
|
+
"top",
|
|
43502
|
+
"rising"
|
|
43503
|
+
],
|
|
43504
|
+
"in": "query",
|
|
43505
|
+
"name": "sort",
|
|
43506
|
+
"type": "string"
|
|
43507
|
+
},
|
|
43508
|
+
{
|
|
43509
|
+
"description": "Time window for top sort: hour, day, week, month, year, or all",
|
|
43510
|
+
"enum": [
|
|
43511
|
+
"hour",
|
|
43512
|
+
"day",
|
|
43513
|
+
"week",
|
|
43514
|
+
"month",
|
|
43515
|
+
"year",
|
|
43516
|
+
"all"
|
|
43517
|
+
],
|
|
43518
|
+
"in": "query",
|
|
43519
|
+
"name": "time",
|
|
43520
|
+
"type": "string"
|
|
43521
|
+
},
|
|
43522
|
+
{
|
|
43523
|
+
"description": "Maximum posts, defaults to 25 and clamps to 100",
|
|
43524
|
+
"in": "query",
|
|
43525
|
+
"name": "limit",
|
|
43526
|
+
"type": "integer"
|
|
43527
|
+
},
|
|
43528
|
+
{
|
|
43529
|
+
"description": "Reddit pagination token",
|
|
43530
|
+
"in": "query",
|
|
43531
|
+
"name": "after",
|
|
43532
|
+
"type": "string"
|
|
43533
|
+
}
|
|
43534
|
+
],
|
|
42122
43535
|
"produces": [
|
|
42123
43536
|
"application/json"
|
|
42124
43537
|
],
|
|
@@ -42126,19 +43539,42 @@
|
|
|
42126
43539
|
"200": {
|
|
42127
43540
|
"description": "OK",
|
|
42128
43541
|
"schema": {
|
|
42129
|
-
"$ref": "#/definitions/
|
|
43542
|
+
"$ref": "#/definitions/reddit.subredditPostsResponseDoc"
|
|
43543
|
+
}
|
|
43544
|
+
},
|
|
43545
|
+
"400": {
|
|
43546
|
+
"description": "Bad Request",
|
|
43547
|
+
"schema": {
|
|
43548
|
+
"$ref": "#/definitions/app.Response"
|
|
43549
|
+
}
|
|
43550
|
+
},
|
|
43551
|
+
"404": {
|
|
43552
|
+
"description": "Not Found",
|
|
43553
|
+
"schema": {
|
|
43554
|
+
"$ref": "#/definitions/app.Response"
|
|
43555
|
+
}
|
|
43556
|
+
},
|
|
43557
|
+
"429": {
|
|
43558
|
+
"description": "Too Many Requests",
|
|
43559
|
+
"schema": {
|
|
43560
|
+
"$ref": "#/definitions/app.Response"
|
|
42130
43561
|
}
|
|
42131
43562
|
},
|
|
42132
43563
|
"503": {
|
|
42133
43564
|
"description": "Service Unavailable",
|
|
42134
43565
|
"schema": {
|
|
42135
|
-
"$ref": "#/definitions/
|
|
43566
|
+
"$ref": "#/definitions/app.Response"
|
|
42136
43567
|
}
|
|
42137
43568
|
}
|
|
42138
43569
|
},
|
|
42139
|
-
"
|
|
43570
|
+
"security": [
|
|
43571
|
+
{
|
|
43572
|
+
"ApiKeyAuth": []
|
|
43573
|
+
}
|
|
43574
|
+
],
|
|
43575
|
+
"summary": "List Reddit subreddit posts",
|
|
42140
43576
|
"tags": [
|
|
42141
|
-
"
|
|
43577
|
+
"Reddit"
|
|
42142
43578
|
]
|
|
42143
43579
|
}
|
|
42144
43580
|
},
|
|
@@ -50467,7 +51903,7 @@
|
|
|
50467
51903
|
},
|
|
50468
51904
|
"security": [
|
|
50469
51905
|
{
|
|
50470
|
-
"
|
|
51906
|
+
"ApiKeyAuth": []
|
|
50471
51907
|
}
|
|
50472
51908
|
],
|
|
50473
51909
|
"summary": "Get current user's endpoint usage breakdown",
|
|
@@ -50543,7 +51979,7 @@
|
|
|
50543
51979
|
},
|
|
50544
51980
|
"security": [
|
|
50545
51981
|
{
|
|
50546
|
-
"
|
|
51982
|
+
"ApiKeyAuth": []
|
|
50547
51983
|
}
|
|
50548
51984
|
],
|
|
50549
51985
|
"summary": "Get current user's usage overview",
|
|
@@ -50627,7 +52063,7 @@
|
|
|
50627
52063
|
},
|
|
50628
52064
|
"security": [
|
|
50629
52065
|
{
|
|
50630
|
-
"
|
|
52066
|
+
"ApiKeyAuth": []
|
|
50631
52067
|
}
|
|
50632
52068
|
],
|
|
50633
52069
|
"summary": "Get current user's recent API client IPs",
|
|
@@ -50720,7 +52156,7 @@
|
|
|
50720
52156
|
},
|
|
50721
52157
|
"security": [
|
|
50722
52158
|
{
|
|
50723
|
-
"
|
|
52159
|
+
"ApiKeyAuth": []
|
|
50724
52160
|
}
|
|
50725
52161
|
],
|
|
50726
52162
|
"summary": "Get current user's usage timeseries",
|
|
@@ -51196,6 +52632,96 @@
|
|
|
51196
52632
|
]
|
|
51197
52633
|
}
|
|
51198
52634
|
},
|
|
52635
|
+
"/yahoo-finance/lookup": {
|
|
52636
|
+
"get": {
|
|
52637
|
+
"consumes": [
|
|
52638
|
+
"application/json"
|
|
52639
|
+
],
|
|
52640
|
+
"description": "Returns Yahoo Finance instrument matches for a query, optionally filtered by instrument type.",
|
|
52641
|
+
"operationId": "yahoo-finance-lookup",
|
|
52642
|
+
"parameters": [
|
|
52643
|
+
{
|
|
52644
|
+
"description": "Ticker symbol or company name",
|
|
52645
|
+
"in": "query",
|
|
52646
|
+
"name": "query",
|
|
52647
|
+
"required": true,
|
|
52648
|
+
"type": "string"
|
|
52649
|
+
},
|
|
52650
|
+
{
|
|
52651
|
+
"description": "Instrument type filter",
|
|
52652
|
+
"enum": [
|
|
52653
|
+
"all",
|
|
52654
|
+
"equity",
|
|
52655
|
+
"etf",
|
|
52656
|
+
"mutualfund",
|
|
52657
|
+
"index",
|
|
52658
|
+
"future",
|
|
52659
|
+
"currency",
|
|
52660
|
+
"cryptocurrency"
|
|
52661
|
+
],
|
|
52662
|
+
"in": "query",
|
|
52663
|
+
"name": "type",
|
|
52664
|
+
"type": "string"
|
|
52665
|
+
},
|
|
52666
|
+
{
|
|
52667
|
+
"description": "Result count",
|
|
52668
|
+
"in": "query",
|
|
52669
|
+
"name": "count",
|
|
52670
|
+
"type": "integer"
|
|
52671
|
+
},
|
|
52672
|
+
{
|
|
52673
|
+
"description": "Result offset",
|
|
52674
|
+
"in": "query",
|
|
52675
|
+
"name": "start",
|
|
52676
|
+
"type": "integer"
|
|
52677
|
+
}
|
|
52678
|
+
],
|
|
52679
|
+
"produces": [
|
|
52680
|
+
"application/json"
|
|
52681
|
+
],
|
|
52682
|
+
"responses": {
|
|
52683
|
+
"200": {
|
|
52684
|
+
"description": "OK",
|
|
52685
|
+
"schema": {
|
|
52686
|
+
"$ref": "#/definitions/yahoofinance.lookupResponseDoc"
|
|
52687
|
+
}
|
|
52688
|
+
},
|
|
52689
|
+
"400": {
|
|
52690
|
+
"description": "Bad Request",
|
|
52691
|
+
"schema": {
|
|
52692
|
+
"$ref": "#/definitions/app.Response"
|
|
52693
|
+
}
|
|
52694
|
+
},
|
|
52695
|
+
"404": {
|
|
52696
|
+
"description": "Not Found",
|
|
52697
|
+
"schema": {
|
|
52698
|
+
"$ref": "#/definitions/app.Response"
|
|
52699
|
+
}
|
|
52700
|
+
},
|
|
52701
|
+
"500": {
|
|
52702
|
+
"description": "Internal Server Error",
|
|
52703
|
+
"schema": {
|
|
52704
|
+
"$ref": "#/definitions/app.Response"
|
|
52705
|
+
}
|
|
52706
|
+
},
|
|
52707
|
+
"503": {
|
|
52708
|
+
"description": "Service Unavailable",
|
|
52709
|
+
"schema": {
|
|
52710
|
+
"$ref": "#/definitions/app.Response"
|
|
52711
|
+
}
|
|
52712
|
+
}
|
|
52713
|
+
},
|
|
52714
|
+
"security": [
|
|
52715
|
+
{
|
|
52716
|
+
"ApiKeyAuth": []
|
|
52717
|
+
}
|
|
52718
|
+
],
|
|
52719
|
+
"summary": "Yahoo Finance lookup",
|
|
52720
|
+
"tags": [
|
|
52721
|
+
"Yahoo Finance"
|
|
52722
|
+
]
|
|
52723
|
+
}
|
|
52724
|
+
},
|
|
51199
52725
|
"/yahoo-finance/market/{market}/status": {
|
|
51200
52726
|
"get": {
|
|
51201
52727
|
"consumes": [
|