Geek7 commited on
Commit
809fc8b
·
verified ·
1 Parent(s): 39fc943

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -11,6 +11,13 @@ CORS(app) # Enable CORS for all routes
11
  def home():
12
  return ""
13
 
 
 
 
 
 
 
 
14
 
15
 
16
  @app.route('/get_latest_version', methods=['GET'])
 
11
  def home():
12
  return ""
13
 
14
+ cpm_data = {
15
+ "ecpm": 4500 # Example ECPM Value
16
+ }
17
+
18
+ @app.route('/get_ecpm_player', methods=['GET'])
19
+ def get_ecpm():
20
+ return jsonify(ecpm_data)
21
 
22
 
23
  @app.route('/get_latest_version', methods=['GET'])