|
| 1 | +openapi: 3.0.0 |
| 2 | +info: |
| 3 | + title: Gophie |
| 4 | + version: '1.0' |
| 5 | + contact: |
| 6 | + name: Bisoncorps |
| 7 | + |
| 8 | + url: 'https://github.com/bisoncorps' |
| 9 | + license: |
| 10 | + url: 'https://github.com/bisoncorps/gophie/blob/master/LICENSE' |
| 11 | + name: License(GNU AGPL v3.0) |
| 12 | + description: |- |
| 13 | + I was visiting my favourite low data movie download site, but that day was particularly annoying. I moved to click and kept getting redirected to nude pictures. I just want free movies, I cried. Bisoncorps then proceeded to create Gophie. It is a CLI tool which enables you to be the cheapskate you are without getting guilt tripped. It was eventually turned into a functional API to enable searching and listing of movies. |
| 14 | +
|
| 15 | + ## Applications |
| 16 | +
|
| 17 | + Gophie is available as a CLI and has also been used to build several other products |
| 18 | +
|
| 19 | + - [Gophie Web](https://github.com/deven96/gophie-web) |
| 20 | + - [Beetube bot](https://github.com/kodjunkie/beetube-bot) |
| 21 | +servers: |
| 22 | + - url: 'https://gophie.herokuapp.com' |
| 23 | + description: Heroku Server |
| 24 | +paths: |
| 25 | + /list: |
| 26 | + get: |
| 27 | + summary: List |
| 28 | + tags: [] |
| 29 | + responses: |
| 30 | + '200': |
| 31 | + description: OK |
| 32 | + content: |
| 33 | + application/json: |
| 34 | + schema: |
| 35 | + type: array |
| 36 | + items: |
| 37 | + $ref: '#/components/schemas/Movie' |
| 38 | + examples: {} |
| 39 | + application/xml: |
| 40 | + schema: |
| 41 | + type: array |
| 42 | + items: |
| 43 | + $ref: '' |
| 44 | + multipart/form-data: |
| 45 | + schema: |
| 46 | + type: object |
| 47 | + properties: {} |
| 48 | + operationId: get-list |
| 49 | + description: Get recent movies from an engine by page where 1 is the most recent page |
| 50 | + parameters: |
| 51 | + - schema: |
| 52 | + type: integer |
| 53 | + in: query |
| 54 | + name: page |
| 55 | + description: page number to retrieve |
| 56 | + required: true |
| 57 | + - schema: |
| 58 | + type: string |
| 59 | + default: netnaija |
| 60 | + in: query |
| 61 | + name: engine |
| 62 | + description: engine to use |
| 63 | + /engine: |
| 64 | + get: |
| 65 | + summary: Engine |
| 66 | + tags: [] |
| 67 | + responses: |
| 68 | + '200': |
| 69 | + description: OK |
| 70 | + content: |
| 71 | + application/json: |
| 72 | + schema: |
| 73 | + type: object |
| 74 | + properties: |
| 75 | + name: |
| 76 | + $ref: '#/components/schemas/Engine' |
| 77 | + examples: |
| 78 | + example-1: |
| 79 | + value: |
| 80 | + fzmovies: |
| 81 | + Name: FzMovies |
| 82 | + Description: '' |
| 83 | + BaseURL: 'https://www.fzmovies.net/' |
| 84 | + SearchURL: 'https://www.fzmovies.net/csearch.php' |
| 85 | + ListURL: 'https://www.fzmovies.net/movieslist.php' |
| 86 | + netnaija: |
| 87 | + Name: NetNaija |
| 88 | + Description: '' |
| 89 | + BaseURL: 'https://www.thenetnaija.com/' |
| 90 | + SearchURL: 'https://www.thenetnaija.com/search' |
| 91 | + ListURL: 'https://www.thenetnaija.com/videos/movies/' |
| 92 | + operationId: get-engine |
| 93 | + description: Returns the engine descriptions on gophie |
| 94 | + parameters: |
| 95 | + - schema: |
| 96 | + type: string |
| 97 | + in: query |
| 98 | + name: engine |
| 99 | + description: engine to check |
| 100 | + requestBody: {} |
| 101 | + /search: |
| 102 | + get: |
| 103 | + summary: Search |
| 104 | + tags: [] |
| 105 | + responses: |
| 106 | + '200': |
| 107 | + description: OK |
| 108 | + content: |
| 109 | + application/json: |
| 110 | + schema: |
| 111 | + type: array |
| 112 | + items: |
| 113 | + $ref: '#/components/schemas/Movie' |
| 114 | + examples: |
| 115 | + example-1: {} |
| 116 | + operationId: get-search |
| 117 | + description: Search for a movie |
| 118 | + parameters: |
| 119 | + - schema: |
| 120 | + type: string |
| 121 | + default: netnaija |
| 122 | + in: query |
| 123 | + description: engine |
| 124 | + name: engine |
| 125 | + - schema: |
| 126 | + type: string |
| 127 | + in: query |
| 128 | + name: query |
| 129 | + description: query to search for |
| 130 | + required: true |
| 131 | +components: |
| 132 | + schemas: |
| 133 | + Movie: |
| 134 | + title: Movie model |
| 135 | + type: object |
| 136 | + description: model representation of a movie |
| 137 | + properties: |
| 138 | + Index: |
| 139 | + type: integer |
| 140 | + description: non-unique id |
| 141 | + Title: |
| 142 | + type: string |
| 143 | + description: Title of the movie |
| 144 | + CoverPhotoLink: |
| 145 | + type: string |
| 146 | + description: Link to the cover photo |
| 147 | + Description: |
| 148 | + type: string |
| 149 | + description: Description of the movie |
| 150 | + Size: |
| 151 | + type: string |
| 152 | + description: Size of the movie |
| 153 | + DownloadLInk: |
| 154 | + type: string |
| 155 | + description: Link to download the movie |
| 156 | + Year: |
| 157 | + description: Year the movie |
| 158 | + type: number |
| 159 | + SDownloadLink: |
| 160 | + type: |
| 161 | + - 'null' |
| 162 | + - array |
| 163 | + description: If the movie is a series then this might contain links to the individual parts |
| 164 | + items: |
| 165 | + type: string |
| 166 | + UploadDate: |
| 167 | + type: string |
| 168 | + description: Date the movie was uploaded |
| 169 | + Source: |
| 170 | + type: string |
| 171 | + description: The engine the movie was retrieved from |
| 172 | + x-examples: |
| 173 | + example-1: |
| 174 | + Index: 0 |
| 175 | + Title: All the Bright Places (2020) |
| 176 | + CoverPhotoLink: 'https://img.netnaija.com/NGMHHK.jpg' |
| 177 | + Description: '' |
| 178 | + Size: (242.26MB) |
| 179 | + DownloadLink: 'https://www.downloadbetter.com/RVMqXLxQs70/all-the-bright-places-2020-netnaija-com-mp4.html?d=1' |
| 180 | + Year: 2020 |
| 181 | + IsSeries: false |
| 182 | + SDownloadLink: null |
| 183 | + UploadDate: '' |
| 184 | + Source: NetNaija |
| 185 | + description: Contains information concerning a movie |
| 186 | + Engine: |
| 187 | + title: Engine model |
| 188 | + type: object |
| 189 | + description: model representation of the sites that have been scraped |
| 190 | + properties: |
| 191 | + Name: |
| 192 | + type: string |
| 193 | + description: Name of the engine(site) |
| 194 | + Description: |
| 195 | + type: string |
| 196 | + description: Brief description of the engine |
| 197 | + BaseURL: |
| 198 | + type: string |
| 199 | + description: Main URL of the engine |
| 200 | + SearchURL: |
| 201 | + type: string |
| 202 | + description: Search URL of the engine |
| 203 | + ListURL: |
| 204 | + type: string |
| 205 | + description: List URL of the engine |
| 206 | + x-examples: |
| 207 | + example-1: |
| 208 | + Name: NetNaija |
| 209 | + Description: '' |
| 210 | + BaseURL: 'https://www.thenetnaija.com/' |
| 211 | + SearchURL: 'https://www.thenetnaija.com/search' |
| 212 | + ListURL: 'https://www.thenetnaija.com/videos/movies/' |
| 213 | + securitySchemes: {} |
0 commit comments