PHP program using YouTube API to replace, add, clear tag, title, description and show view count, title for video IDs

Job ID: 33496308

Budget: $30 – $250 USD

PHP program using YouTube API to

a. replace a video's tags and/or title and/or description
b. add to a video's tags and/or title and/or description
c. clear a video's tags and/or title and/or description
d. show a video's view count and title

The program should be self-contained: should not use any linked, called packages, programs

Program will be used on my own channel and should not require Oauth2, only my Youtube API key

A text file would provide replace add clear and show commands

There may be large number of video ID-s o process in the text file

Records which are blank, null and starting with # are to be ignored

Sample text files:

# EXAMPLE ************************************************************
YRNbPn8nyRU replace:tag South Africa, Mime artist, Dancer
YRNbPn8nyRU replace:title A South African Mime Artist & Dancer
YRNbPn8nyRU replace:description Video by Les
# ********************************************************************

# Above replaces Tags, Title and Description for vide ID YRNbPn8nyRU

# EXAMPLE ************************************************************
YRNbPn8nyRU add:tag In Africa
YRNbPn8nyRU add:description Taken by smartphone
# ********************************************************************

# Above adds to Tag and Description. In Description anything added starts a new line


# EXAMPLE ************************************************************
YRNbPn8nyRU clear:description
# ********************************************************************

# Above clears the video's Description

End of run statistics to be shown on screen:
a. count of successful updates
b. count of errors



Sample file for show:

# ********************************************************************
show OJfrarxO6Q
show 97C4FwmiqSA
# ********************************************************************

View count and title metadata for the 2 videos to be written to .CSV file.

There should be an option to separate View count and title by comma or tab.

The following symbols in title should be substituded in the .CSV file:

, with %c%
' with %sq%
" with %dq%
crlf with %crlf% (carriage return line feed)
cr with %cr% (carriage return)
lf with %lf% (line feed)

End of run statistics to be given on screen:
a. count of successful metadata retrievals
b. count of errors
Related categories: PHP YouTube API