Skip to content

Instantly share code, notes, and snippets.

@rehmatworks
Last active March 24, 2021 08:52
Show Gist options
  • Save rehmatworks/446c871e9353075fcb6d191698806810 to your computer and use it in GitHub Desktop.
Save rehmatworks/446c871e9353075fcb6d191698806810 to your computer and use it in GitHub Desktop.
iscraper-docs
openapi: "3.0.0"
info:
version: 2.0.0
title: iScraper API
license:
name: MIT
servers:
- url: https://api.iscraper.io/api/v2
paths:
/profile-data/:
get:
summary: Get all details for a given profile ID.
operationId: getLinkedInProfileData
parameters:
- name: id
in: path
required: true
description: The id of the profile to retrieve
schema:
type: string
responses:
'200':
description: Expected when the API call is successful.
content:
application/json:
schema:
$ref: "#/components/schemas/Profile"
404:
description: Profile not found
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
components:
schemas:
Profile:
type: object
properties:
id:
type: integer
format: int64
first_name:
type: string
last_name:
type: string
Error:
type: object
required:
- code
properties:
code:
type: integer
format: int32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment