• Stars
    star
    163
  • Rank 222,666 (Top 5 %)
  • Language
    PHP
  • Created about 2 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

YouTube operational API works when YouTube Data API v3 fails.

YouTube operational API

YouTube operational API works when YouTube Data API v3 fails.

API website

Install your own instance of the API:

  1. If not already hosting a website (click here if you prefer nginx), run in a terminal:

On Linux (Ubuntu, Debian and Mint):

sudo apt install apache2 php
sudo a2enmod rewrite headers

Replace AllowOverride None with AllowOverride All in <Directory /var/www/> in /etc/apache2/apache2.conf.

Then run:

sudo service apache2 start

On Windows:

Download and run WampServer 3.

On MacOS:

On MacOS (Intel) use /usr/local/ instead of /opt/homebrew/.

brew install apache2 php

echo 'LoadModule php_module /opt/homebrew/opt/php/lib/httpd/modules/libphp.so
Include /opt/homebrew/etc/httpd/extra/httpd-php.conf' >> /opt/homebrew/etc/httpd/httpd.conf

echo '<IfModule php_module>
  <FilesMatch \.php$>
    SetHandler application/x-httpd-php
  </FilesMatch>

  <IfModule dir_module>
    DirectoryIndex index.php
  </IfModule>
</IfModule>' >> /opt/homebrew/etc/httpd/extra/httpd-php.conf

sed -i '' 's/#LoadModule rewrite_module/LoadModule rewrite_module/' /opt/homebrew/etc/httpd/httpd.conf

Replace AllowOverride none with AllowOverride all in <Directory "/opt/homebrew/var/www"> in /opt/homebrew/etc/httpd/httpd.conf.

Then run:

brew services start httpd
  1. Now that you are hosting a website, get the current working directory of your terminal into the folder that is online.
  • On Linux, use cd /var/www/html/
  • On Windows, use cd C:\wamp64\www\
  • On MacOS, use cd /opt/homebrew/var/www/
  1. Clone this repository by using:
git clone https://github.com/Benjamin-Loison/YouTube-operational-API
  1. Verify that your API instance is reachable by trying to access:

If you want me to advertise your instance (if you have opened your port, and have a fixed IP address or a domain name), please use below contacts.

Run the API with Docker

  1. Install Docker and make sure that its daemon is running.

  2. Create a .env file and update it with your preferred port:

cp .env.sample .env
  1. Start the container with docker-compose:
# start in the foreground
docker-compose up
# start in the background
docker-compose up -d
  1. Verify that your API instance is reachable by trying to access:

Contact:

Contributing:

See CONTRIBUTING.md.

More Repositories

1

Internet-Computer-Bitcoin-Library

Rust
8
star
2

Among-us-decentralized

C++
3
star
3

Mining-in-Logarithmic-Space

Based on the article "Mining in Logarithmic Space" (https://eprint.iacr.org/2021/623.pdf) here is an implementation for Bitcoin blockchain
TeX
2
star
4

YouTube-comments-graph

This repository only focuses on comments that are on all French YouTube channels
C++
2
star
5

Travian-blockchained

Travian powered by blockchain technology
C++
2
star
6

Mandelbrot-set

Python
1
star
7

GetSamsungEmailPassword

Want to recover your Samsung email app password ? Here is the solution
Java
1
star
8

HRU-implementation

Implementation based on HRU (https://dl.acm.org/doi/abs/10.1145/360303.360333)
OCaml
1
star
9

Sierpinski-triangle

Python
1
star
10

Memos

My personnal memos for everything
HTML
1
star
11

Koch-snowflake

Python - Koch snowflake with basic mathematic notions
Python
1
star
12

LemnosLifeToMinecraft

Quelques fichiers publiques...
SQF
1
star
13

Contracts-management-website

This project, called "BOSE" for "Boîte à outils du système d'exploitation", is a website enabling users to edit contracts within a company easily at the same time by using AJAX
Twig
1
star
14

C--ToASM

School project done in OCaml to turn C-- code to assembly code
C
1
star
15

Curriculum-vitae

There are various versions of my CV (it depends on who I am giving this document to)
TeX
1
star
16

MPSI-1

Mathematica
1
star
17

autoresponse

Shell
1
star
18

LemnosLife

You can find here some stuff about the game called "LemnosLife".
C++
1
star
19

Travaux-Personnel-Encadres-TPE-BAC

HTML
1
star
20

Lot-of-Java-projects

This is a quite messy repository which stores a lot of my Java projects which help me sometimes to do an automated and easy job.
Java
1
star
21

Langton-s-ant

Cellular automata
C++
1
star
22

MPX

Mathematica
1
star
23

Trojan

This is a client version coded in C++ for Windows.
C++
1
star
24

Conway-game-of-life

This cellular automaton is very interesting as I will quote Stephen Wolfram "How basic rules could generate very complex systems"
C++
1
star
25

AltisCraft.fr

This repository will be step by step completed during a few years.
Java
1
star
26

DocSolus-extractor

Reverse engineering, with credentials on the website it is easy to export as pictures all corrections with this code
Java
1
star
27

MathInFoLy19

Summer school about mathematics, computer science: "Cryptographie, blockchain et vérification de programmes Du 24 au 31 août (2019) - INSA - Lyon - France"
Python
1
star